#2F4396#2F4396
#2F4396 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.6% C 0.138 H 269.3°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4396 |
|---|---|
| RGB | rgb(47, 67, 150) |
| HSL | hsl(228, 52%, 39%) |
| HSV | hsv(228, 69%, 59%) |
| CMYK | cmyk(68.7%, 55.3%, 0%, 41.2%) |
| CIE-LAB | lab(31.39, 20.90, -48.00) |
| CIE-LCH | lch(31.39, 52.36, 293.53°) |
| OKLab | oklab(41.64% -0.0016 -0.138) |
| OKLCH | oklch(41.64% 0.138 269.3) |
| XYZ | xyz(8.6826, 6.8198, 29.7070) |
| Luminance | 0.0682 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.02
Cobalt
#0047AB
ΔE00 4.40
Blueberry
#464196
ΔE00 4.41
Sapphire (survey)
#2138AB
ΔE00 4.92
Darkslateblue
#483D8B
ΔE00 6.00
Darkish Blue
#014182
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4396 #96822F
analogous
#2F7696 #2F4396 #4F2F96
triadic
#2F4396 #962F43 #43962F
tetradic
#2F4396 #962F76 #96822F #2F964F
square
#2F4396 #962F76 #96822F #2F964F
split-complementary
#2F4396 #964F2F #76962F
monochromatic
#121939 #202E67 #2F4396 #3F59C3 #6E81D2
Accessibility & contrast
On white
8.88
#2F4396 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#2F4396 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4396
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4396 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4396 | 1.00 | 8.88 | 2.36 | 8.88 |
| #FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#034F99
Deuteranopia (green-blind)
#004594
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2f4396; /* rgb */ color: rgb(47, 67, 150); /* oklch */ color: oklch(41.6% 0.138 269.3);
Tailwind
colors: {
custom: {
50: '#7476b5',
500: '#2f4396',
950: '#000000',
},
}SCSS
$custom: #2f4396; $custom-light: #7476b5; $custom-dark: #000000;
JSON
{
"hex": "#2f4396",
"rgb": {
"r": 47,
"g": 67,
"b": 150
},
"hsl": {
"h": 228.35,
"s": 52.284,
"l": 38.627
},
"oklch": {
"l": 0.41642,
"c": 0.13804,
"h": 269.3
},
"luminance": 0.06821
}Semantic roles & 50–950 ramp
primary
#2F4396
secondary
#B9A968
accent
#C04CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80