Color #2257b6
A moderately saturated medium blue.
Conversions
#2257b6
rgb(34, 87, 182)
hsl(218.5, 68.5%, 42.4%)
hsv(218.5, 81.3%, 71.4%)
cmyk(81.3%, 52.2%, 0%, 28.6%)
lab(38.78, 18.2, -55.21)
lch(38.78, 58.13, 288.24)
oklch(47.8%, 0.1611, 261)
hwb(218.5, 13.3%, 28.6%)
Harmony colors
Accessibility
White text reads better on this background (6.76:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#3f40a5 · ΔE 9.6
Deuteranopia
#3c38a1 · ΔE 11.6
Tritanopia
#279693 · ΔE 35.4
Achromatopsia
#5b5b5b · ΔE 25.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2257b6;
bg-[#2257b6]
Related colors
Frequently asked questions
#2257b6 (#2257b6) is rgb(34, 87, 182) in RGB.
No, #2257b6 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #2257b6, or check how it holds up for accessibility.