#2F459E#2F459E
#2F459E is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.7% C 0.147 H 268.9°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2F459E |
|---|---|
| RGB | rgb(47, 69, 158) |
| HSL | hsl(228, 54%, 40%) |
| HSV | hsv(228, 70%, 62%) |
| CMYK | cmyk(70.3%, 56.3%, 0%, 38%) |
| CIE-LAB | lab(32.54, 22.56, -51.00) |
| CIE-LCH | lch(32.54, 55.76, 293.86°) |
| OKLab | oklab(42.7% -0.0029 -0.1468) |
| OKLCH | oklch(42.7% 0.147 268.9) |
| XYZ | xyz(9.4698, 7.3283, 33.2566) |
| Luminance | 0.0733 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.63
Cobalt (survey)
#1E488F
ΔE00 4.20
Sapphire (survey)
#2138AB
ΔE00 4.63
Blueberry
#464196
ΔE00 4.69
Blue Blue
#2242C7
ΔE00 5.76
Sapphire
#0F52BA
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F459E #9E882F
analogous
#2F7C9E #2F459E #502F9E
triadic
#2F459E #9E2F45 #459E2F
tetradic
#2F459E #9E2F7C #9E882F #2F9E50
square
#2F459E #9E2F7C #9E882F #2F9E50
split-complementary
#2F459E #9E502F #7C9E2F
monochromatic
#131C40 #21306F #2F459E #435DC7 #7286D5
Accessibility & contrast
On white
8.52
#2F459E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#2F459E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F459E
8.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F459E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F459E | 1.00 | 8.52 | 2.47 | 8.52 |
| #FFFFFF | 8.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A1
Deuteranopia (green-blind)
#00489C
Tritanopia (blue-blind)
#005B6A
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2f459e; /* rgb */ color: rgb(47, 69, 158); /* oklch */ color: oklch(42.7% 0.147 268.9);
Tailwind
colors: {
custom: {
50: '#7678bb',
500: '#2f459e',
950: '#000000',
},
}SCSS
$custom: #2f459e; $custom-light: #7678bb; $custom-dark: #000000;
JSON
{
"hex": "#2f459e",
"rgb": {
"r": 47,
"g": 69,
"b": 158
},
"hsl": {
"h": 228.108,
"s": 54.146,
"l": 40.196
},
"oklch": {
"l": 0.42697,
"c": 0.14683,
"h": 268.9
},
"luminance": 0.07329
}Semantic roles & 50–950 ramp
primary
#2F459E
secondary
#BDAD6C
accent
#C04ADE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81