#2F459D#2F459D
#2F459D is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.6% C 0.145 H 268.8°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).
Color values
| HEX | #2F459D |
|---|---|
| RGB | rgb(47, 69, 157) |
| HSL | hsl(228, 54%, 40%) |
| HSV | hsv(228, 70%, 62%) |
| CMYK | cmyk(70.1%, 56.1%, 0%, 38.4%) |
| CIE-LAB | lab(32.47, 22.18, -50.51) |
| CIE-LCH | lch(32.47, 55.17, 293.71°) |
| OKLab | oklab(42.62% -0.003 -0.1454) |
| OKLCH | oklch(42.62% 0.145 268.8) |
| XYZ | xyz(9.3841, 7.2940, 32.8051) |
| Luminance | 0.0730 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.67
Cobalt (survey)
#1E488F
ΔE00 4.10
Blueberry
#464196
ΔE00 4.69
Sapphire (survey)
#2138AB
ΔE00 4.72
Blue Blue
#2242C7
ΔE00 5.91
Sapphire
#0F52BA
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F459D #9D872F
analogous
#2F7C9D #2F459D #502F9D
triadic
#2F459D #9D2F45 #459D2F
tetradic
#2F459D #9D2F7C #9D872F #2F9D50
square
#2F459D #9D2F7C #9D872F #2F9D50
split-complementary
#2F459D #9D502F #7C9D2F
monochromatic
#131C3F #21306E #2F459D #435DC7 #7285D5
Accessibility & contrast
On white
8.54
#2F459D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#2F459D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F459D
8.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F459D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F459D | 1.00 | 8.54 | 2.46 | 8.54 |
| #FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#00489B
Tritanopia (blue-blind)
#005A6A
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2f459d; /* rgb */ color: rgb(47, 69, 157); /* oklch */ color: oklch(42.6% 0.145 268.8);
Tailwind
colors: {
custom: {
50: '#7678bb',
500: '#2f459d',
950: '#000000',
},
}SCSS
$custom: #2f459d; $custom-light: #7678bb; $custom-dark: #000000;
JSON
{
"hex": "#2f459d",
"rgb": {
"r": 47,
"g": 69,
"b": 157
},
"hsl": {
"h": 228,
"s": 53.922,
"l": 40
},
"oklch": {
"l": 0.42616,
"c": 0.14541,
"h": 268.8
},
"luminance": 0.07295
}Semantic roles & 50–950 ramp
primary
#2F459D
secondary
#BCAC6B
accent
#C04BDD
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81