#2F459B#2F459B
#2F459B is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.5% C 0.143 H 268.8°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).
Color values
| HEX | #2F459B |
|---|---|
| RGB | rgb(47, 69, 155) |
| HSL | hsl(228, 53%, 40%) |
| HSV | hsv(228, 70%, 61%) |
| CMYK | cmyk(69.7%, 55.5%, 0%, 39.2%) |
| CIE-LAB | lab(32.32, 21.44, -49.55) |
| CIE-LCH | lch(32.32, 53.99, 293.39°) |
| OKLab | oklab(42.46% -0.0031 -0.1425) |
| OKLCH | oklch(42.46% 0.143 268.8) |
| XYZ | xyz(9.2148, 7.2262, 31.9132) |
| Luminance | 0.0723 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.77
Cobalt (survey)
#1E488F
ΔE00 3.90
Blueberry
#464196
ΔE00 4.70
Sapphire (survey)
#2138AB
ΔE00 4.91
Blue Blue
#2242C7
ΔE00 6.21
Darkish Blue
#014182
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F459B #9B852F
analogous
#2F7B9B #2F459B #4F2F9B
triadic
#2F459B #9B2F45 #459B2F
tetradic
#2F459B #9B2F7B #9B852F #2F9B4F
square
#2F459B #9B2F7B #9B852F #2F9B4F
split-complementary
#2F459B #9B4F2F #7B9B2F
monochromatic
#131B3D #21306C #2F459B #425DC6 #7185D4
Accessibility & contrast
On white
8.59
#2F459B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#2F459B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F459B
8.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F459B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F459B | 1.00 | 8.59 | 2.45 | 8.59 |
| #FFFFFF | 8.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00519E
Deuteranopia (green-blind)
#004799
Tritanopia (blue-blind)
#005A69
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2f459b; /* rgb */ color: rgb(47, 69, 155); /* oklch */ color: oklch(42.5% 0.143 268.8);
Tailwind
colors: {
custom: {
50: '#7578b9',
500: '#2f459b',
950: '#000000',
},
}SCSS
$custom: #2f459b; $custom-light: #7578b9; $custom-dark: #000000;
JSON
{
"hex": "#2f459b",
"rgb": {
"r": 47,
"g": 69,
"b": 155
},
"hsl": {
"h": 227.778,
"s": 53.465,
"l": 39.608
},
"oklch": {
"l": 0.42455,
"c": 0.14257,
"h": 268.8
},
"luminance": 0.07227
}Semantic roles & 50–950 ramp
primary
#2F459B
secondary
#BBAB6A
accent
#BF4BDD
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80