#2D427C#2D427C
#2D427C is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.4% C 0.102 H 266.8°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2D427C |
|---|---|
| RGB | rgb(45, 66, 124) |
| HSL | hsl(224, 47%, 33%) |
| HSV | hsv(224, 64%, 49%) |
| CMYK | cmyk(63.7%, 46.8%, 0%, 51.4%) |
| CIE-LAB | lab(29.18, 11.46, -35.51) |
| CIE-LCH | lch(29.18, 37.32, 287.89°) |
| OKLab | oklab(39.35% -0.0057 -0.1013) |
| OKLCH | oklch(39.35% 0.102 266.8) |
| XYZ | xyz(6.6673, 5.9090, 19.8541) |
| Luminance | 0.0591 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.15
Darkish Blue
#014182
ΔE00 4.64
Twilight Blue
#0A437A
ΔE00 5.04
Marine Blue
#01386A
ΔE00 5.88
Prussian Blue
#004577
ΔE00 6.58
Blueberry
#464196
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D427C #7C672D
analogous
#2D697C #2D427C #3F2D7C
triadic
#2D427C #7C2D42 #427C2D
tetradic
#2D427C #7C2D69 #7C672D #2D7C3F
square
#2D427C #7C2D69 #7C672D #2D7C3F
split-complementary
#2D427C #7C3F2D #697C2D
monochromatic
#0C1222 #1D2A4F #2D427C #3D5AA9 #5F7AC5
Accessibility & contrast
On white
9.62
#2D427C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#2D427C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D427C
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D427C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D427C | 1.00 | 9.62 | 2.18 | 9.62 |
| #FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27497E
Deuteranopia (green-blind)
#1A417B
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2d427c; /* rgb */ color: rgb(45, 66, 124); /* oklch */ color: oklch(39.4% 0.102 266.8);
Tailwind
colors: {
custom: {
50: '#6e76a2',
500: '#2d427c',
950: '#000000',
},
}SCSS
$custom: #2d427c; $custom-light: #6e76a2; $custom-dark: #000000;
JSON
{
"hex": "#2d427c",
"rgb": {
"r": 45,
"g": 66,
"b": 124
},
"hsl": {
"h": 224.051,
"s": 46.746,
"l": 33.137
},
"oklch": {
"l": 0.39353,
"c": 0.1015,
"h": 266.8
},
"luminance": 0.0591
}Semantic roles & 50–950 ramp
primary
#2D427C
secondary
#AB955A
accent
#B351D6
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#08080F
muted
#7B7B7F