#2F458E#2F458E
#2F458E is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.4% C 0.124 H 268.0°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).
Color values
| HEX | #2F458E |
|---|---|
| RGB | rgb(47, 69, 142) |
| HSL | hsl(226, 50%, 37%) |
| HSV | hsv(226, 67%, 56%) |
| CMYK | cmyk(66.9%, 51.4%, 0%, 44.3%) |
| CIE-LAB | lab(31.38, 16.55, -43.14) |
| CIE-LCH | lch(31.38, 46.21, 290.99°) |
| OKLab | oklab(41.45% -0.0042 -0.1237) |
| OKLCH | oklch(41.45% 0.124 268) |
| XYZ | xyz(8.1812, 6.8128, 26.4698) |
| Luminance | 0.0681 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.07
Cobalt
#0047AB
ΔE00 4.86
Darkish Blue
#014182
ΔE00 5.12
Blueberry
#464196
ΔE00 5.29
Twilight Blue
#0A437A
ΔE00 5.89
Dusk Blue
#26538D
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F458E #8E782F
analogous
#2F758E #2F458E #482F8E
triadic
#2F458E #8E2F45 #458E2F
tetradic
#2F458E #8E2F75 #8E782F #2F8E48
square
#2F458E #8E2F75 #8E782F #2F8E48
split-complementary
#2F458E #8E482F #758E2F
monochromatic
#111832 #202F60 #2F458E #3E5BBC #6A81CE
Accessibility & contrast
On white
8.89
#2F458E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#2F458E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F458E
8.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F458E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F458E | 1.00 | 8.89 | 2.36 | 8.89 |
| #FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C4E91
Deuteranopia (green-blind)
#00468D
Tritanopia (blue-blind)
#005663
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2f458e; /* rgb */ color: rgb(47, 69, 142); /* oklch */ color: oklch(41.4% 0.124 268.0);
Tailwind
colors: {
custom: {
50: '#7278b0',
500: '#2f458e',
950: '#000000',
},
}SCSS
$custom: #2f458e; $custom-light: #7278b0; $custom-dark: #000000;
JSON
{
"hex": "#2f458e",
"rgb": {
"r": 47,
"g": 69,
"b": 142
},
"hsl": {
"h": 226.105,
"s": 50.265,
"l": 37.059
},
"oklch": {
"l": 0.41446,
"c": 0.12375,
"h": 268
},
"luminance": 0.06814
}Semantic roles & 50–950 ramp
primary
#2F458E
secondary
#B5A264
accent
#B94EDA
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090810
muted
#7B7B7F