#2B457F#2B457F
#2B457F is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.1% C 0.103 H 264.1°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2B457F |
|---|---|
| RGB | rgb(43, 69, 127) |
| HSL | hsl(221, 49%, 33%) |
| HSV | hsv(221, 66%, 50%) |
| CMYK | cmyk(66.1%, 45.7%, 0%, 50.2%) |
| CIE-LAB | lab(30.16, 10.15, -35.83) |
| CIE-LCH | lch(30.16, 37.24, 285.82°) |
| OKLab | oklab(40.14% -0.0105 -0.1023) |
| OKLCH | oklch(40.14% 0.103 264.1) |
| XYZ | xyz(6.9538, 6.3015, 20.9244) |
| Luminance | 0.0630 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.99
Darkish Blue
#014182
ΔE00 3.88
Twilight Blue
#0A437A
ΔE00 4.19
Dusk Blue
#26538D
ΔE00 5.57
Prussian Blue
#004577
ΔE00 5.64
Marine Blue
#01386A
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B457F #7F652B
analogous
#2B6F7F #2B457F #3B2B7F
triadic
#2B457F #7F2B45 #457F2B
tetradic
#2B457F #7F2B6F #7F652B #2B7F3B
square
#2B457F #7F2B6F #7F652B #2B7F3B
split-complementary
#2B457F #7F3B2B #6F7F2B
monochromatic
#0C1324 #1C2C51 #2B457F #3A5EAD #5C7EC8
Accessibility & contrast
On white
9.29
#2B457F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#2B457F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B457F
9.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B457F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B457F | 1.00 | 9.29 | 2.26 | 9.29 |
| #FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A4B81
Deuteranopia (green-blind)
#1C437E
Tritanopia (blue-blind)
#00525B
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2b457f; /* rgb */ color: rgb(43, 69, 127); /* oklch */ color: oklch(40.1% 0.103 264.1);
Tailwind
colors: {
custom: {
50: '#6e78a4',
500: '#2b457f',
950: '#000000',
},
}SCSS
$custom: #2b457f; $custom-light: #6e78a4; $custom-dark: #000000;
JSON
{
"hex": "#2b457f",
"rgb": {
"r": 43,
"g": 69,
"b": 127
},
"hsl": {
"h": 221.429,
"s": 49.412,
"l": 33.333
},
"oklch": {
"l": 0.40137,
"c": 0.1028,
"h": 264.1
},
"luminance": 0.06302
}Semantic roles & 50–950 ramp
primary
#2B457F
secondary
#AE9358
accent
#AE4FD9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08080F
muted
#7B7B7F