#2F4496#2F4496
#2F4496 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.9% C 0.137 H 268.9°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4496 |
|---|---|
| RGB | rgb(47, 68, 150) |
| HSL | hsl(228, 52%, 39%) |
| HSV | hsv(228, 69%, 59%) |
| CMYK | cmyk(68.7%, 54.7%, 0%, 41.2%) |
| CIE-LAB | lab(31.67, 20.23, -47.56) |
| CIE-LCH | lch(31.67, 51.68, 293.04°) |
| OKLab | oklab(41.85% -0.0025 -0.1367) |
| OKLCH | oklch(41.85% 0.137 268.9) |
| XYZ | xyz(8.7425, 6.9398, 29.7270) |
| Luminance | 0.0694 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.74
Cobalt
#0047AB
ΔE00 4.24
Blueberry
#464196
ΔE00 4.61
Sapphire (survey)
#2138AB
ΔE00 5.18
Darkish Blue
#014182
ΔE00 5.87
Darkslateblue
#483D8B
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4496 #96812F
analogous
#2F7796 #2F4496 #4D2F96
triadic
#2F4496 #962F44 #44962F
tetradic
#2F4496 #962F77 #96812F #2F964D
square
#2F4496 #962F77 #96812F #2F964D
split-complementary
#2F4496 #964D2F #77962F
monochromatic
#121A39 #202F67 #2F4496 #3F5AC3 #6E82D2
Accessibility & contrast
On white
8.79
#2F4496 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#2F4496 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4496
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4496 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4496 | 1.00 | 8.79 | 2.39 | 8.79 |
| #FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#094F99
Deuteranopia (green-blind)
#004694
Tritanopia (blue-blind)
#005866
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2f4496; /* rgb */ color: rgb(47, 68, 150); /* oklch */ color: oklch(41.9% 0.137 268.9);
Tailwind
colors: {
custom: {
50: '#7477b5',
500: '#2f4496',
950: '#000000',
},
}SCSS
$custom: #2f4496; $custom-light: #7477b5; $custom-dark: #000000;
JSON
{
"hex": "#2f4496",
"rgb": {
"r": 47,
"g": 68,
"b": 150
},
"hsl": {
"h": 227.767,
"s": 52.284,
"l": 38.627
},
"oklch": {
"l": 0.4185,
"c": 0.13672,
"h": 268.9
},
"luminance": 0.06941
}Semantic roles & 50–950 ramp
primary
#2F4496
secondary
#B9A868
accent
#BE4CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80