#2F4B96#2F4B96
#2F4B96 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.3% C 0.128 H 265.9°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4B96 |
|---|---|
| RGB | rgb(47, 75, 150) |
| HSL | hsl(224, 52%, 39%) |
| HSV | hsv(224, 69%, 59%) |
| CMYK | cmyk(68.7%, 50%, 0%, 41.2%) |
| CIE-LAB | lab(33.64, 15.53, -44.37) |
| CIE-LCH | lch(33.64, 47.01, 289.28°) |
| OKLab | oklab(43.35% -0.0092 -0.1272) |
| OKLCH | oklch(43.35% 0.128 265.9) |
| XYZ | xyz(9.1915, 7.8376, 29.8767) |
| Luminance | 0.0784 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.47
Cobalt
#0047AB
ΔE00 3.83
Dusk Blue
#26538D
ΔE00 4.45
Sapphire
#0F52BA
ΔE00 5.42
Denim Blue
#3B5B92
ΔE00 5.45
Darkish Blue
#014182
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4B96 #967A2F
analogous
#2F7E96 #2F4B96 #462F96
triadic
#2F4B96 #962F4B #4B962F
tetradic
#2F4B96 #962F7E #967A2F #2F9646
square
#2F4B96 #962F7E #967A2F #2F9646
split-complementary
#2F4B96 #96462F #7E962F
monochromatic
#121C39 #203467 #2F4B96 #3F63C3 #6E89D2
Accessibility & contrast
On white
8.18
#2F4B96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#2F4B96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4B96
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4B96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4B96 | 1.00 | 8.18 | 2.57 | 8.18 |
| #FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#225499
Deuteranopia (green-blind)
#054B94
Tritanopia (blue-blind)
#005D69
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2f4b96; /* rgb */ color: rgb(47, 75, 150); /* oklch */ color: oklch(43.3% 0.128 265.9);
Tailwind
colors: {
custom: {
50: '#747cb5',
500: '#2f4b96',
950: '#000000',
},
}SCSS
$custom: #2f4b96; $custom-light: #747cb5; $custom-dark: #000000;
JSON
{
"hex": "#2f4b96",
"rgb": {
"r": 47,
"g": 75,
"b": 150
},
"hsl": {
"h": 223.689,
"s": 52.284,
"l": 38.627
},
"oklch": {
"l": 0.43346,
"c": 0.12755,
"h": 265.9
},
"luminance": 0.07839
}Semantic roles & 50–950 ramp
primary
#2F4B96
secondary
#B9A368
accent
#B54CDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80