#2F488D#2F488D
#2F488D is a dark, moderate blue. Relative luminance 0.072; OKLCH L 42.0% C 0.118 H 266.4°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2F488D |
|---|---|
| RGB | rgb(47, 72, 141) |
| HSL | hsl(224, 50%, 37%) |
| HSV | hsv(224, 67%, 55%) |
| CMYK | cmyk(66.7%, 48.9%, 0%, 44.7%) |
| CIE-LAB | lab(32.17, 14.15, -41.25) |
| CIE-LCH | lch(32.17, 43.61, 288.94°) |
| OKLab | oklab(42.03% -0.0074 -0.1181) |
| OKLCH | oklch(42.03% 0.118 266.4) |
| XYZ | xyz(8.2957, 7.1614, 26.1392) |
| Luminance | 0.0716 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.39
Cobalt
#0047AB
ΔE00 4.77
Darkish Blue
#014182
ΔE00 4.86
Dusk Blue
#26538D
ΔE00 5.05
Twilight Blue
#0A437A
ΔE00 5.44
Blueberry
#464196
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F488D #8D742F
analogous
#2F778D #2F488D #452F8D
triadic
#2F488D #8D2F48 #488D2F
tetradic
#2F488D #8D2F77 #8D742F #2F8D45
square
#2F488D #8D2F77 #8D742F #2F8D45
split-complementary
#2F488D #8D452F #778D2F
monochromatic
#101931 #20315F #2F488D #3E5FBB #6984CD
Accessibility & contrast
On white
8.63
#2F488D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#2F488D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F488D
8.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F488D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F488D | 1.00 | 8.63 | 2.43 | 8.63 |
| #FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#245090
Deuteranopia (green-blind)
#11488C
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2f488d; /* rgb */ color: rgb(47, 72, 141); /* oklch */ color: oklch(42.0% 0.118 266.4);
Tailwind
colors: {
custom: {
50: '#727aaf',
500: '#2f488d',
950: '#000000',
},
}SCSS
$custom: #2f488d; $custom-light: #727aaf; $custom-dark: #000000;
JSON
{
"hex": "#2f488d",
"rgb": {
"r": 47,
"g": 72,
"b": 141
},
"hsl": {
"h": 224.043,
"s": 50,
"l": 36.863
},
"oklch": {
"l": 0.42029,
"c": 0.1183,
"h": 266.4
},
"luminance": 0.07162
}Semantic roles & 50–950 ramp
primary
#2F488D
secondary
#B49F64
accent
#B44EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090910
muted
#7B7B7F