#2F489C#2F489C
#2F489C is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.2% C 0.140 H 267.7°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2F489C |
|---|---|
| RGB | rgb(47, 72, 156) |
| HSL | hsl(226, 54%, 40%) |
| HSV | hsv(226, 70%, 61%) |
| CMYK | cmyk(69.9%, 53.8%, 0%, 38.8%) |
| CIE-LAB | lab(33.22, 19.80, -48.69) |
| CIE-LCH | lch(33.22, 52.56, 292.13°) |
| OKLab | oklab(43.16% -0.0057 -0.14) |
| OKLCH | oklch(43.16% 0.14 267.7) |
| XYZ | xyz(9.4883, 7.6384, 32.4204) |
| Luminance | 0.0764 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.38
Cobalt (survey)
#1E488F
ΔE00 3.38
Blueberry
#464196
ΔE00 5.40
Sapphire
#0F52BA
ΔE00 5.52
Sapphire (survey)
#2138AB
ΔE00 5.74
Dusk Blue
#26538D
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F489C #9C832F
analogous
#2F7E9C #2F489C #4D2F9C
triadic
#2F489C #9C2F48 #489C2F
tetradic
#2F489C #9C2F7E #9C832F #2F9C4D
square
#2F489C #9C2F7E #9C832F #2F9C4D
split-complementary
#2F489C #9C4D2F #7E9C2F
monochromatic
#131D3E #21326D #2F489C #4260C6 #7188D4
Accessibility & contrast
On white
8.31
#2F489C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#2F489C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F489C
8.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F489C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F489C | 1.00 | 8.31 | 2.53 | 8.31 |
| #FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E539F
Deuteranopia (green-blind)
#00499A
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2f489c; /* rgb */ color: rgb(47, 72, 156); /* oklch */ color: oklch(43.2% 0.140 267.7);
Tailwind
colors: {
custom: {
50: '#757aba',
500: '#2f489c',
950: '#000000',
},
}SCSS
$custom: #2f489c; $custom-light: #757aba; $custom-dark: #000000;
JSON
{
"hex": "#2f489c",
"rgb": {
"r": 47,
"g": 72,
"b": 156
},
"hsl": {
"h": 226.239,
"s": 53.695,
"l": 39.804
},
"oklch": {
"l": 0.43159,
"c": 0.1401,
"h": 267.7
},
"luminance": 0.07639
}Semantic roles & 50–950 ramp
primary
#2F489C
secondary
#BCA96B
accent
#BC4BDD
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090912
muted
#7B7B81