#2B427E#2B427E
#2B427E is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.4% C 0.105 H 266.0°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2B427E |
|---|---|
| RGB | rgb(43, 66, 126) |
| HSL | hsl(223, 49%, 33%) |
| HSV | hsv(223, 66%, 49%) |
| CMYK | cmyk(65.9%, 47.6%, 0%, 50.6%) |
| CIE-LAB | lab(29.20, 11.82, -36.74) |
| CIE-LCH | lch(29.20, 38.60, 287.83°) |
| OKLab | oklab(39.38% -0.0074 -0.105) |
| OKLCH | oklch(39.38% 0.105 266) |
| XYZ | xyz(6.7091, 5.9158, 20.5229) |
| Luminance | 0.0592 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.73
Darkish Blue
#014182
ΔE00 4.24
Twilight Blue
#0A437A
ΔE00 4.73
Marine Blue
#01386A
ΔE00 5.72
Prussian Blue
#004577
ΔE00 6.29
Dusk Blue
#26538D
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B427E #7E672B
analogous
#2B6B7E #2B427E #3D2B7E
triadic
#2B427E #7E2B42 #427E2B
tetradic
#2B427E #7E2B6B #7E672B #2B7E3D
square
#2B427E #7E2B6B #7E672B #2B7E3D
split-complementary
#2B427E #7E3D2B #6B7E2B
monochromatic
#0C1223 #1B2A50 #2B427E #3B5AAC #5C7AC7
Accessibility & contrast
On white
9.62
#2B427E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#2B427E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B427E
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B427E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B427E | 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)
#254980
Deuteranopia (green-blind)
#16417D
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2b427e; /* rgb */ color: rgb(43, 66, 126); /* oklch */ color: oklch(39.4% 0.105 266.0);
Tailwind
colors: {
custom: {
50: '#6d76a4',
500: '#2b427e',
950: '#000000',
},
}SCSS
$custom: #2b427e; $custom-light: #6d76a4; $custom-dark: #000000;
JSON
{
"hex": "#2b427e",
"rgb": {
"r": 43,
"g": 66,
"b": 126
},
"hsl": {
"h": 223.373,
"s": 49.112,
"l": 33.137
},
"oklch": {
"l": 0.39378,
"c": 0.10526,
"h": 266
},
"luminance": 0.05916
}Semantic roles & 50–950 ramp
primary
#2B427E
secondary
#AD9558
accent
#B34FD9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08080F
muted
#7B7B7F