#2E4796#2E4796
#2E4796 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.4% C 0.133 H 267.3°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4796 |
|---|---|
| RGB | rgb(46, 71, 150) |
| HSL | hsl(226, 53%, 38%) |
| HSV | hsv(226, 69%, 59%) |
| CMYK | cmyk(69.3%, 52.7%, 0%, 41.2%) |
| CIE-LAB | lab(32.45, 18.05, -46.29) |
| CIE-LCH | lch(32.45, 49.68, 291.30°) |
| OKLab | oklab(42.43% -0.0063 -0.1329) |
| OKLCH | oklch(42.43% 0.133 267.3) |
| XYZ | xyz(8.8831, 7.2885, 29.7869) |
| Luminance | 0.0729 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.87
Cobalt
#0047AB
ΔE00 3.79
Darkish Blue
#014182
ΔE00 5.45
Blueberry
#464196
ΔE00 5.47
Dusk Blue
#26538D
ΔE00 5.67
Sapphire (survey)
#2138AB
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4796 #967D2E
analogous
#2E7B96 #2E4796 #492E96
triadic
#2E4796 #962E47 #47962E
tetradic
#2E4796 #962E7B #967D2E #2E9649
square
#2E4796 #962E7B #967D2E #2E9649
split-complementary
#2E4796 #96492E #7B962E
monochromatic
#111B38 #203167 #2E4796 #3E5EC4 #6C85D2
Accessibility & contrast
On white
8.54
#2E4796 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#2E4796 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4796
8.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4796 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4796 | 1.00 | 8.54 | 2.46 | 8.54 |
| #FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#165199
Deuteranopia (green-blind)
#004894
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2e4796; /* rgb */ color: rgb(46, 71, 150); /* oklch */ color: oklch(42.4% 0.133 267.3);
Tailwind
colors: {
custom: {
50: '#7479b5',
500: '#2e4796',
950: '#000000',
},
}SCSS
$custom: #2e4796; $custom-light: #7479b5; $custom-dark: #000000;
JSON
{
"hex": "#2e4796",
"rgb": {
"r": 46,
"g": 71,
"b": 150
},
"hsl": {
"h": 225.577,
"s": 53.061,
"l": 38.431
},
"oklch": {
"l": 0.42429,
"c": 0.13309,
"h": 267.3
},
"luminance": 0.07289
}Semantic roles & 50–950 ramp
primary
#2E4796
secondary
#B9A567
accent
#BA4BDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80