Color #0628bd
A vivid, highly saturated dark blue.
Conversions
#0628bd
rgb(6, 40, 189)
hsl(228.9, 93.8%, 38.2%)
hsv(228.9, 96.8%, 74.1%)
cmyk(96.8%, 78.8%, 0%, 25.9%)
lab(27.38, 49.2, -78.07)
lch(27.38, 92.28, 302.22)
oklch(39.4%, 0.2274, 264.63)
hwb(228.9, 2.4%, 25.9%)
Harmony colors
Accessibility
White text reads better on this background (10.26:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1a1aa8 · ΔE 4
Deuteranopia
#1815a2 · ΔE 5.2
Tritanopia
#099490 · ΔE 44.9
Achromatopsia
#414141 · ΔE 30
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #0628bd;
bg-[#0628bd]
Related colors
Frequently asked questions
#0628bd (#0628bd) is rgb(6, 40, 189) in RGB.
No, #0628bd 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 #0628bd, or check how it holds up for accessibility.