#2F489E#2F489E
#2F489E is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.3% C 0.143 H 267.8°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2F489E |
|---|---|
| RGB | rgb(47, 72, 158) |
| HSL | hsl(226, 54%, 40%) |
| HSV | hsv(226, 70%, 62%) |
| CMYK | cmyk(70.3%, 54.4%, 0%, 38%) |
| CIE-LAB | lab(33.36, 20.55, -49.66) |
| CIE-LCH | lch(33.36, 53.75, 292.48°) |
| OKLab | oklab(43.32% -0.0055 -0.1428) |
| OKLCH | oklch(43.32% 0.143 267.8) |
| XYZ | xyz(9.6591, 7.7067, 33.3196) |
| Luminance | 0.0771 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.27
Cobalt (survey)
#1E488F
ΔE00 3.60
Blueberry
#464196
ΔE00 5.37
Sapphire
#0F52BA
ΔE00 5.38
Sapphire (survey)
#2138AB
ΔE00 5.57
Dusk Blue
#26538D
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F489E #9E852F
analogous
#2F809E #2F489E #4D2F9E
triadic
#2F489E #9E2F48 #489E2F
tetradic
#2F489E #9E2F80 #9E852F #2F9E4D
square
#2F489E #9E2F80 #9E852F #2F9E4D
split-complementary
#2F489E #9E4D2F #809E2F
monochromatic
#131D40 #21336F #2F489E #4361C7 #7289D5
Accessibility & contrast
On white
8.26
#2F489E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#2F489E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F489E
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F489E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F489E | 1.00 | 8.26 | 2.54 | 8.26 |
| #FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0854A1
Deuteranopia (green-blind)
#004A9C
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2f489e; /* rgb */ color: rgb(47, 72, 158); /* oklch */ color: oklch(43.3% 0.143 267.8);
Tailwind
colors: {
custom: {
50: '#767abb',
500: '#2f489e',
950: '#000000',
},
}SCSS
$custom: #2f489e; $custom-light: #767abb; $custom-dark: #000000;
JSON
{
"hex": "#2f489e",
"rgb": {
"r": 47,
"g": 72,
"b": 158
},
"hsl": {
"h": 226.486,
"s": 54.146,
"l": 40.196
},
"oklch": {
"l": 0.43315,
"c": 0.14294,
"h": 267.8
},
"luminance": 0.07708
}Semantic roles & 50–950 ramp
primary
#2F489E
secondary
#BDAB6C
accent
#BC4ADE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090912
muted
#7B7B81