#2F4E96#2F4E96
#2F4E96 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.0% C 0.124 H 264.4°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4E96 |
|---|---|
| RGB | rgb(47, 78, 150) |
| HSL | hsl(222, 52%, 39%) |
| HSV | hsv(222, 69%, 59%) |
| CMYK | cmyk(68.7%, 48%, 0%, 41.2%) |
| CIE-LAB | lab(34.51, 13.52, -42.98) |
| CIE-LCH | lch(34.51, 45.06, 287.46°) |
| OKLab | oklab(44.01% -0.0121 -0.1231) |
| OKLCH | oklch(44.01% 0.124 264.4) |
| XYZ | xyz(9.3998, 8.2542, 29.9461) |
| Luminance | 0.0825 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.59
Dusk Blue
#26538D
ΔE00 3.50
Cobalt
#0047AB
ΔE00 4.10
Denim Blue
#3B5B92
ΔE00 4.43
Sapphire
#0F52BA
ΔE00 4.96
Light Navy
#155084
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4E96 #96772F
analogous
#2F8196 #2F4E96 #432F96
triadic
#2F4E96 #962F4E #4E962F
tetradic
#2F4E96 #962F81 #96772F #2F9643
square
#2F4E96 #962F81 #96772F #2F9643
split-complementary
#2F4E96 #96432F #81962F
monochromatic
#121E39 #203667 #2F4E96 #3F67C3 #6E8CD2
Accessibility & contrast
On white
7.92
#2F4E96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#2F4E96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4E96
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4E96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4E96 | 1.00 | 7.92 | 2.65 | 7.92 |
| #FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#295699
Deuteranopia (green-blind)
#134D95
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2f4e96; /* rgb */ color: rgb(47, 78, 150); /* oklch */ color: oklch(44.0% 0.124 264.4);
Tailwind
colors: {
custom: {
50: '#747fb5',
500: '#2f4e96',
950: '#000000',
},
}SCSS
$custom: #2f4e96; $custom-light: #747fb5; $custom-dark: #000000;
JSON
{
"hex": "#2f4e96",
"rgb": {
"r": 47,
"g": 78,
"b": 150
},
"hsl": {
"h": 221.942,
"s": 52.284,
"l": 38.627
},
"oklch": {
"l": 0.44006,
"c": 0.12367,
"h": 264.4
},
"luminance": 0.08255
}Semantic roles & 50–950 ramp
primary
#2F4E96
secondary
#B9A168
accent
#B04CDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80