#2F459C#2F459C
#2F459C is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.5% C 0.144 H 268.8°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2F459C |
|---|---|
| RGB | rgb(47, 69, 156) |
| HSL | hsl(228, 54%, 40%) |
| HSV | hsv(228, 70%, 61%) |
| CMYK | cmyk(69.9%, 55.8%, 0%, 38.8%) |
| CIE-LAB | lab(32.39, 21.81, -50.03) |
| CIE-LCH | lch(32.39, 54.58, 293.55°) |
| OKLab | oklab(42.54% -0.003 -0.144) |
| OKLCH | oklch(42.54% 0.144 268.8) |
| XYZ | xyz(9.2991, 7.2600, 32.3573) |
| Luminance | 0.0726 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.71
Cobalt (survey)
#1E488F
ΔE00 4.00
Blueberry
#464196
ΔE00 4.69
Sapphire (survey)
#2138AB
ΔE00 4.82
Blue Blue
#2242C7
ΔE00 6.06
Sapphire
#0F52BA
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F459C #9C862F
analogous
#2F7C9C #2F459C #502F9C
triadic
#2F459C #9C2F45 #459C2F
tetradic
#2F459C #9C2F7C #9C862F #2F9C50
square
#2F459C #9C2F7C #9C862F #2F9C50
split-complementary
#2F459C #9C502F #7C9C2F
monochromatic
#131B3E #21306D #2F459C #425DC6 #7185D4
Accessibility & contrast
On white
8.56
#2F459C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#2F459C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F459C
8.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F459C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F459C | 1.00 | 8.56 | 2.45 | 8.56 |
| #FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00519F
Deuteranopia (green-blind)
#00479A
Tritanopia (blue-blind)
#005A69
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2f459c; /* rgb */ color: rgb(47, 69, 156); /* oklch */ color: oklch(42.5% 0.144 268.8);
Tailwind
colors: {
custom: {
50: '#7578ba',
500: '#2f459c',
950: '#000000',
},
}SCSS
$custom: #2f459c; $custom-light: #7578ba; $custom-dark: #000000;
JSON
{
"hex": "#2f459c",
"rgb": {
"r": 47,
"g": 69,
"b": 156
},
"hsl": {
"h": 227.89,
"s": 53.695,
"l": 39.804
},
"oklch": {
"l": 0.42535,
"c": 0.14399,
"h": 268.8
},
"luminance": 0.07261
}Semantic roles & 50–950 ramp
primary
#2F459C
secondary
#BCAC6B
accent
#C04BDD
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81