#2F459A#2F459A
#2F459A is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.4% C 0.141 H 268.7°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).
Color values
| HEX | #2F459A |
|---|---|
| RGB | rgb(47, 69, 154) |
| HSL | hsl(228, 53%, 39%) |
| HSV | hsv(228, 69%, 60%) |
| CMYK | cmyk(69.5%, 55.2%, 0%, 39.6%) |
| CIE-LAB | lab(32.24, 21.06, -49.06) |
| CIE-LCH | lch(32.24, 53.39, 293.23°) |
| OKLab | oklab(42.38% -0.0032 -0.1411) |
| OKLCH | oklch(42.38% 0.141 268.7) |
| XYZ | xyz(9.1311, 7.1928, 31.4727) |
| Luminance | 0.0719 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.81
Cobalt
#0047AB
ΔE00 3.82
Blueberry
#464196
ΔE00 4.72
Sapphire (survey)
#2138AB
ΔE00 5.02
Darkish Blue
#014182
ΔE00 6.13
Blue Blue
#2242C7
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F459A #9A842F
analogous
#2F7B9A #2F459A #4F2F9A
triadic
#2F459A #9A2F45 #459A2F
tetradic
#2F459A #9A2F7B #9A842F #2F9A4F
square
#2F459A #9A2F7B #9A842F #2F9A4F
split-complementary
#2F459A #9A4F2F #7B9A2F
monochromatic
#121B3C #21306B #2F459A #415CC5 #7084D3
Accessibility & contrast
On white
8.61
#2F459A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#2F459A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F459A
8.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F459A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F459A | 1.00 | 8.61 | 2.44 | 8.61 |
| #FFFFFF | 8.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#03519D
Deuteranopia (green-blind)
#004798
Tritanopia (blue-blind)
#005968
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2f459a; /* rgb */ color: rgb(47, 69, 154); /* oklch */ color: oklch(42.4% 0.141 268.7);
Tailwind
colors: {
custom: {
50: '#7578b8',
500: '#2f459a',
950: '#000000',
},
}SCSS
$custom: #2f459a; $custom-light: #7578b8; $custom-dark: #000000;
JSON
{
"hex": "#2f459a",
"rgb": {
"r": 47,
"g": 69,
"b": 154
},
"hsl": {
"h": 227.664,
"s": 53.234,
"l": 39.412
},
"oklch": {
"l": 0.42375,
"c": 0.14115,
"h": 268.7
},
"luminance": 0.07194
}Semantic roles & 50–950 ramp
primary
#2F459A
secondary
#BBAA6A
accent
#BF4BDD
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80