#2F489F#2F489F
#2F489F is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.4% C 0.144 H 267.8°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).
Color values
| HEX | #2F489F |
|---|---|
| RGB | rgb(47, 72, 159) |
| HSL | hsl(227, 54%, 40%) |
| HSV | hsv(227, 70%, 62%) |
| CMYK | cmyk(70.4%, 54.7%, 0%, 37.6%) |
| CIE-LAB | lab(33.44, 20.93, -50.15) |
| CIE-LCH | lch(33.44, 54.34, 292.65°) |
| OKLab | oklab(43.39% -0.0055 -0.1443) |
| OKLCH | oklch(43.39% 0.144 267.8) |
| XYZ | xyz(9.7455, 7.7413, 33.7748) |
| Luminance | 0.0774 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.22
Cobalt (survey)
#1E488F
ΔE00 3.71
Sapphire
#0F52BA
ΔE00 5.31
Blueberry
#464196
ΔE00 5.37
Sapphire (survey)
#2138AB
ΔE00 5.49
Blue Blue
#2242C7
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F489F #9F862F
analogous
#2F809F #2F489F #4E2F9F
triadic
#2F489F #9F2F48 #489F2F
tetradic
#2F489F #9F2F80 #9F862F #2F9F4E
square
#2F489F #9F2F80 #9F862F #2F9F4E
split-complementary
#2F489F #9F4E2F #809F2F
monochromatic
#131D41 #213370 #2F489F #4461C8 #7389D6
Accessibility & contrast
On white
8.24
#2F489F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#2F489F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F489F
8.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F489F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F489F | 1.00 | 8.24 | 2.55 | 8.24 |
| #FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0554A2
Deuteranopia (green-blind)
#004A9D
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2f489f; /* rgb */ color: rgb(47, 72, 159); /* oklch */ color: oklch(43.4% 0.144 267.8);
Tailwind
colors: {
custom: {
50: '#767abc',
500: '#2f489f',
950: '#000000',
},
}SCSS
$custom: #2f489f; $custom-light: #767abc; $custom-dark: #000000;
JSON
{
"hex": "#2f489f",
"rgb": {
"r": 47,
"g": 72,
"b": 159
},
"hsl": {
"h": 226.607,
"s": 54.369,
"l": 40.392
},
"oklch": {
"l": 0.43394,
"c": 0.14436,
"h": 267.8
},
"luminance": 0.07742
}Semantic roles & 50–950 ramp
primary
#2F489F
secondary
#BDAB6D
accent
#BD4ADE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0912
muted
#7C7B81