#2F457D#2F457D
#2F457D is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.2% C 0.098 H 266.0°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2F457D |
|---|---|
| RGB | rgb(47, 69, 125) |
| HSL | hsl(223, 45%, 34%) |
| HSV | hsv(223, 62%, 49%) |
| CMYK | cmyk(62.4%, 44.8%, 0%, 51%) |
| CIE-LAB | lab(30.26, 10.21, -34.41) |
| CIE-LCH | lch(30.26, 35.90, 286.53°) |
| OKLab | oklab(40.23% -0.0069 -0.098) |
| OKLCH | oklch(40.23% 0.098 266) |
| XYZ | xyz(7.0008, 6.3407, 20.2530) |
| Luminance | 0.0634 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.73
Darkish Blue
#014182
ΔE00 4.65
Twilight Blue
#0A437A
ΔE00 4.89
Dusk Blue
#26538D
ΔE00 6.06
Marine Blue
#01386A
ΔE00 6.28
Prussian Blue
#004577
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F457D #7D672F
analogous
#2F6C7D #2F457D #402F7D
triadic
#2F457D #7D2F45 #457D2F
tetradic
#2F457D #7D2F6C #7D672F #2F7D40
square
#2F457D #7D2F6C #7D672F #2F7D40
split-complementary
#2F457D #7D402F #6C7D2F
monochromatic
#0E1424 #1E2C51 #2F457D #405EA9 #627EC4
Accessibility & contrast
On white
9.26
#2F457D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#2F457D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F457D
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F457D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F457D | 1.00 | 9.26 | 2.27 | 9.26 |
| #FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4B7F
Deuteranopia (green-blind)
#21447C
Tritanopia (blue-blind)
#00525B
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2f457d; /* rgb */ color: rgb(47, 69, 125); /* oklch */ color: oklch(40.2% 0.098 266.0);
Tailwind
colors: {
custom: {
50: '#6f78a3',
500: '#2f457d',
950: '#000000',
},
}SCSS
$custom: #2f457d; $custom-light: #6f78a3; $custom-dark: #000000;
JSON
{
"hex": "#2f457d",
"rgb": {
"r": 47,
"g": 69,
"b": 125
},
"hsl": {
"h": 223.077,
"s": 45.349,
"l": 33.725
},
"oklch": {
"l": 0.40229,
"c": 0.09827,
"h": 266
},
"luminance": 0.06341
}Semantic roles & 50–950 ramp
primary
#2F457D
secondary
#AB955D
accent
#B053D5
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F