#2F488F#2F488F
#2F488F is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.2% C 0.121 H 266.6°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).
Color values
| HEX | #2F488F |
|---|---|
| RGB | rgb(47, 72, 143) |
| HSL | hsl(224, 51%, 37%) |
| HSV | hsv(224, 67%, 56%) |
| CMYK | cmyk(67.1%, 49.7%, 0%, 43.9%) |
| CIE-LAB | lab(32.31, 14.91, -42.26) |
| CIE-LCH | lch(32.31, 44.81, 289.43°) |
| OKLab | oklab(42.18% -0.0071 -0.121) |
| OKLCH | oklch(42.18% 0.121 266.6) |
| XYZ | xyz(8.4459, 7.2214, 26.9301) |
| Luminance | 0.0722 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.42
Cobalt
#0047AB
ΔE00 4.55
Darkish Blue
#014182
ΔE00 4.98
Dusk Blue
#26538D
ΔE00 5.11
Twilight Blue
#0A437A
ΔE00 5.61
Blueberry
#464196
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F488F #8F762F
analogous
#2F788F #2F488F #462F8F
triadic
#2F488F #8F2F48 #488F2F
tetradic
#2F488F #8F2F78 #8F762F #2F8F46
square
#2F488F #8F2F78 #8F762F #2F8F46
split-complementary
#2F488F #8F462F #788F2F
monochromatic
#111A33 #203161 #2F488F #3E5FBD #6A84CE
Accessibility & contrast
On white
8.59
#2F488F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#2F488F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F488F
8.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F488F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F488F | 1.00 | 8.59 | 2.44 | 8.59 |
| #FFFFFF | 8.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#225192
Deuteranopia (green-blind)
#0C488E
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2f488f; /* rgb */ color: rgb(47, 72, 143); /* oklch */ color: oklch(42.2% 0.121 266.6);
Tailwind
colors: {
custom: {
50: '#727ab0',
500: '#2f488f',
950: '#000000',
},
}SCSS
$custom: #2f488f; $custom-light: #727ab0; $custom-dark: #000000;
JSON
{
"hex": "#2f488f",
"rgb": {
"r": 47,
"g": 72,
"b": 143
},
"hsl": {
"h": 224.375,
"s": 50.526,
"l": 37.255
},
"oklch": {
"l": 0.42175,
"c": 0.12125,
"h": 266.6
},
"luminance": 0.07222
}Semantic roles & 50–950 ramp
primary
#2F488F
secondary
#B5A065
accent
#B64EDA
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090910
muted
#7B7B7F