#2F458F#2F458F
#2F458F is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.5% C 0.125 H 268.1°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2F458F |
|---|---|
| RGB | rgb(47, 69, 143) |
| HSL | hsl(226, 51%, 37%) |
| HSV | hsv(226, 67%, 56%) |
| CMYK | cmyk(67.1%, 51.7%, 0%, 43.9%) |
| CIE-LAB | lab(31.45, 16.93, -43.64) |
| CIE-LCH | lch(31.45, 46.81, 291.20°) |
| OKLab | oklab(41.52% -0.0041 -0.1251) |
| OKLCH | oklch(41.52% 0.125 268.1) |
| XYZ | xyz(8.2566, 6.8430, 26.8670) |
| Luminance | 0.0684 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.10
Cobalt
#0047AB
ΔE00 4.75
Darkish Blue
#014182
ΔE00 5.19
Blueberry
#464196
ΔE00 5.22
Twilight Blue
#0A437A
ΔE00 5.97
Dusk Blue
#26538D
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F458F #8F792F
analogous
#2F758F #2F458F #492F8F
triadic
#2F458F #8F2F45 #458F2F
tetradic
#2F458F #8F2F75 #8F792F #2F8F49
square
#2F458F #8F2F75 #8F792F #2F8F49
split-complementary
#2F458F #8F492F #758F2F
monochromatic
#111933 #202F61 #2F458F #3E5BBD #6A81CE
Accessibility & contrast
On white
8.87
#2F458F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#2F458F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F458F
8.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F458F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F458F | 1.00 | 8.87 | 2.37 | 8.87 |
| #FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B4F92
Deuteranopia (green-blind)
#00468D
Tritanopia (blue-blind)
#005663
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2f458f; /* rgb */ color: rgb(47, 69, 143); /* oklch */ color: oklch(41.5% 0.125 268.1);
Tailwind
colors: {
custom: {
50: '#7378b0',
500: '#2f458f',
950: '#000000',
},
}SCSS
$custom: #2f458f; $custom-light: #7378b0; $custom-dark: #000000;
JSON
{
"hex": "#2f458f",
"rgb": {
"r": 47,
"g": 69,
"b": 143
},
"hsl": {
"h": 226.25,
"s": 50.526,
"l": 37.255
},
"oklch": {
"l": 0.41521,
"c": 0.12522,
"h": 268.1
},
"luminance": 0.06844
}Semantic roles & 50–950 ramp
primary
#2F458F
secondary
#B5A365
accent
#BA4EDA
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090810
muted
#7B7B7F