#2F489D#2F489D
#2F489D is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.2% C 0.142 H 267.7°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2F489D |
|---|---|
| RGB | rgb(47, 72, 157) |
| HSL | hsl(226, 54%, 40%) |
| HSV | hsv(226, 70%, 62%) |
| CMYK | cmyk(70.1%, 54.1%, 0%, 38.4%) |
| CIE-LAB | lab(33.29, 20.18, -49.18) |
| CIE-LCH | lch(33.29, 53.16, 292.31°) |
| OKLab | oklab(43.24% -0.0056 -0.1414) |
| OKLCH | oklch(43.24% 0.142 267.7) |
| XYZ | xyz(9.5734, 7.6724, 32.8682) |
| Luminance | 0.0767 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.32
Cobalt (survey)
#1E488F
ΔE00 3.49
Blueberry
#464196
ΔE00 5.39
Sapphire
#0F52BA
ΔE00 5.45
Sapphire (survey)
#2138AB
ΔE00 5.65
Dusk Blue
#26538D
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F489D #9D842F
analogous
#2F7F9D #2F489D #4D2F9D
triadic
#2F489D #9D2F48 #489D2F
tetradic
#2F489D #9D2F7F #9D842F #2F9D4D
square
#2F489D #9D2F7F #9D842F #2F9D4D
split-complementary
#2F489D #9D4D2F #7F9D2F
monochromatic
#131D3F #21326E #2F489D #4361C7 #7288D5
Accessibility & contrast
On white
8.29
#2F489D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#2F489D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F489D
8.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F489D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F489D | 1.00 | 8.29 | 2.53 | 8.29 |
| #FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B54A0
Deuteranopia (green-blind)
#00499B
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2f489d; /* rgb */ color: rgb(47, 72, 157); /* oklch */ color: oklch(43.2% 0.142 267.7);
Tailwind
colors: {
custom: {
50: '#757abb',
500: '#2f489d',
950: '#000000',
},
}SCSS
$custom: #2f489d; $custom-light: #757abb; $custom-dark: #000000;
JSON
{
"hex": "#2f489d",
"rgb": {
"r": 47,
"g": 72,
"b": 157
},
"hsl": {
"h": 226.364,
"s": 53.922,
"l": 40
},
"oklch": {
"l": 0.43237,
"c": 0.14152,
"h": 267.7
},
"luminance": 0.07673
}Semantic roles & 50–950 ramp
primary
#2F489D
secondary
#BCAA6B
accent
#BC4BDD
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090912
muted
#7B7B81