#2F458D#2F458D
#2F458D is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.4% C 0.122 H 268.0°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).
Color values
| HEX | #2F458D |
|---|---|
| RGB | rgb(47, 69, 141) |
| HSL | hsl(226, 50%, 37%) |
| HSV | hsv(226, 67%, 55%) |
| CMYK | cmyk(66.7%, 51.1%, 0%, 44.7%) |
| CIE-LAB | lab(31.31, 16.18, -42.64) |
| CIE-LCH | lch(31.31, 45.60, 290.78°) |
| OKLab | oklab(41.37% -0.0044 -0.1222) |
| OKLCH | oklch(41.37% 0.122 268) |
| XYZ | xyz(8.1065, 6.7829, 26.0762) |
| Luminance | 0.0678 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.05
Cobalt
#0047AB
ΔE00 4.97
Darkish Blue
#014182
ΔE00 5.06
Blueberry
#464196
ΔE00 5.37
Twilight Blue
#0A437A
ΔE00 5.81
Dusk Blue
#26538D
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F458D #8D772F
analogous
#2F748D #2F458D #482F8D
triadic
#2F458D #8D2F45 #458D2F
tetradic
#2F458D #8D2F74 #8D772F #2F8D48
square
#2F458D #8D2F74 #8D772F #2F8D48
split-complementary
#2F458D #8D482F #748D2F
monochromatic
#101831 #202F5F #2F458D #3E5BBB #6981CD
Accessibility & contrast
On white
8.91
#2F458D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#2F458D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F458D
8.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F458D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F458D | 1.00 | 8.91 | 2.36 | 8.91 |
| #FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D4E90
Deuteranopia (green-blind)
#03468C
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2f458d; /* rgb */ color: rgb(47, 69, 141); /* oklch */ color: oklch(41.4% 0.122 268.0);
Tailwind
colors: {
custom: {
50: '#7278af',
500: '#2f458d',
950: '#000000',
},
}SCSS
$custom: #2f458d; $custom-light: #7278af; $custom-dark: #000000;
JSON
{
"hex": "#2f458d",
"rgb": {
"r": 47,
"g": 69,
"b": 141
},
"hsl": {
"h": 225.957,
"s": 50,
"l": 36.863
},
"oklch": {
"l": 0.41371,
"c": 0.12228,
"h": 268
},
"luminance": 0.06784
}Semantic roles & 50–950 ramp
primary
#2F458D
secondary
#B4A164
accent
#B94EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F