#2F4296#2F4296
#2F4296 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.4% C 0.139 H 269.7°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4296 |
|---|---|
| RGB | rgb(47, 66, 150) |
| HSL | hsl(229, 52%, 39%) |
| HSV | hsv(229, 69%, 59%) |
| CMYK | cmyk(68.7%, 56%, 0%, 41.2%) |
| CIE-LAB | lab(31.12, 21.58, -48.45) |
| CIE-LCH | lch(31.12, 53.04, 294.01°) |
| OKLab | oklab(41.44% -0.0007 -0.1393) |
| OKLCH | oklch(41.44% 0.139 269.7) |
| XYZ | xyz(8.6236, 6.7020, 29.6874) |
| Luminance | 0.0670 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.23
Cobalt (survey)
#1E488F
ΔE00 4.30
Cobalt
#0047AB
ΔE00 4.58
Sapphire (survey)
#2138AB
ΔE00 4.66
Darkslateblue
#483D8B
ΔE00 5.80
Darkish Blue
#014182
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4296 #96832F
analogous
#2F7596 #2F4296 #4F2F96
triadic
#2F4296 #962F42 #42962F
tetradic
#2F4296 #962F75 #96832F #2F964F
square
#2F4296 #962F75 #96832F #2F964F
split-complementary
#2F4296 #964F2F #75962F
monochromatic
#121939 #202D67 #2F4296 #3F58C3 #6E80D2
Accessibility & contrast
On white
8.97
#2F4296 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#2F4296 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4296
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4296 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4296 | 1.00 | 8.97 | 2.34 | 8.97 |
| #FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E99
Deuteranopia (green-blind)
#004594
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2f4296; /* rgb */ color: rgb(47, 66, 150); /* oklch */ color: oklch(41.4% 0.139 269.7);
Tailwind
colors: {
custom: {
50: '#7476b5',
500: '#2f4296',
950: '#000000',
},
}SCSS
$custom: #2f4296; $custom-light: #7476b5; $custom-dark: #000000;
JSON
{
"hex": "#2f4296",
"rgb": {
"r": 47,
"g": 66,
"b": 150
},
"hsl": {
"h": 228.932,
"s": 52.284,
"l": 38.627
},
"oklch": {
"l": 0.41436,
"c": 0.13935,
"h": 269.7
},
"luminance": 0.06703
}Semantic roles & 50–950 ramp
primary
#2F4296
secondary
#B9AA68
accent
#C14CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80