#2F4596#2F4596
#2F4596 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.1% C 0.135 H 268.5°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4596 |
|---|---|
| RGB | rgb(47, 69, 150) |
| HSL | hsl(227, 52%, 39%) |
| HSV | hsv(227, 69%, 59%) |
| CMYK | cmyk(68.7%, 54%, 0%, 41.2%) |
| CIE-LAB | lab(31.95, 19.56, -47.11) |
| CIE-LCH | lch(31.95, 51.01, 292.55°) |
| OKLab | oklab(42.06% -0.0035 -0.1354) |
| OKLCH | oklch(42.06% 0.135 268.5) |
| XYZ | xyz(8.8035, 7.0618, 29.7474) |
| Luminance | 0.0706 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.48
Cobalt
#0047AB
ΔE00 4.11
Blueberry
#464196
ΔE00 4.83
Sapphire (survey)
#2138AB
ΔE00 5.45
Darkish Blue
#014182
ΔE00 5.75
Dusk Blue
#26538D
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4596 #96802F
analogous
#2F7896 #2F4596 #4C2F96
triadic
#2F4596 #962F45 #45962F
tetradic
#2F4596 #962F78 #96802F #2F964C
square
#2F4596 #962F78 #96802F #2F964C
split-complementary
#2F4596 #964C2F #78962F
monochromatic
#121A39 #203067 #2F4596 #3F5BC3 #6E83D2
Accessibility & contrast
On white
8.70
#2F4596 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#2F4596 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4596
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4596 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4596 | 1.00 | 8.70 | 2.41 | 8.70 |
| #FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E5099
Deuteranopia (green-blind)
#004794
Tritanopia (blue-blind)
#005866
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2f4596; /* rgb */ color: rgb(47, 69, 150); /* oklch */ color: oklch(42.1% 0.135 268.5);
Tailwind
colors: {
custom: {
50: '#7478b5',
500: '#2f4596',
950: '#000000',
},
}SCSS
$custom: #2f4596; $custom-light: #7478b5; $custom-dark: #000000;
JSON
{
"hex": "#2f4596",
"rgb": {
"r": 47,
"g": 69,
"b": 150
},
"hsl": {
"h": 227.184,
"s": 52.284,
"l": 38.627
},
"oklch": {
"l": 0.4206,
"c": 0.1354,
"h": 268.5
},
"luminance": 0.07063
}Semantic roles & 50–950 ramp
primary
#2F4596
secondary
#B9A868
accent
#BD4CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80