#2E4397#2E4397
#2E4397 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.7% C 0.140 H 269.0°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4397 |
|---|---|
| RGB | rgb(46, 67, 151) |
| HSL | hsl(228, 53%, 39%) |
| HSV | hsv(228, 70%, 59%) |
| CMYK | cmyk(69.5%, 55.6%, 0%, 40.8%) |
| CIE-LAB | lab(31.41, 21.12, -48.58) |
| CIE-LCH | lch(31.41, 52.98, 293.50°) |
| OKLab | oklab(41.67% -0.0026 -0.1398) |
| OKLCH | oklch(41.67% 0.14 269) |
| XYZ | xyz(8.7179, 6.8287, 30.1308) |
| Luminance | 0.0683 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.96
Cobalt
#0047AB
ΔE00 4.22
Blueberry
#464196
ΔE00 4.53
Sapphire (survey)
#2138AB
ΔE00 4.81
Darkish Blue
#014182
ΔE00 5.96
Darkslateblue
#483D8B
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4397 #97822E
analogous
#2E7797 #2E4397 #4D2E97
triadic
#2E4397 #972E43 #43972E
tetradic
#2E4397 #972E77 #97822E #2E974D
square
#2E4397 #972E77 #97822E #2E974D
split-complementary
#2E4397 #974D2E #77972E
monochromatic
#111939 #202E68 #2E4397 #3E59C4 #6D81D2
Accessibility & contrast
On white
8.88
#2E4397 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#2E4397 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4397
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4397 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4397 | 1.00 | 8.88 | 2.37 | 8.88 |
| #FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9A
Deuteranopia (green-blind)
#004595
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2e4397; /* rgb */ color: rgb(46, 67, 151); /* oklch */ color: oklch(41.7% 0.140 269.0);
Tailwind
colors: {
custom: {
50: '#7476b6',
500: '#2e4397',
950: '#000000',
},
}SCSS
$custom: #2e4397; $custom-light: #7476b6; $custom-dark: #000000;
JSON
{
"hex": "#2e4397",
"rgb": {
"r": 46,
"g": 67,
"b": 151
},
"hsl": {
"h": 228,
"s": 53.299,
"l": 38.627
},
"oklch": {
"l": 0.41667,
"c": 0.13977,
"h": 269
},
"luminance": 0.0683
}Semantic roles & 50–950 ramp
primary
#2E4397
secondary
#BAA967
accent
#C04BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80