#2E4295#2E4295
#2E4295 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.3% C 0.138 H 269.3°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4295 |
|---|---|
| RGB | rgb(46, 66, 149) |
| HSL | hsl(228, 53%, 38%) |
| HSV | hsv(228, 69%, 58%) |
| CMYK | cmyk(69.1%, 55.7%, 0%, 41.6%) |
| CIE-LAB | lab(30.99, 21.04, -48.05) |
| CIE-LCH | lch(30.99, 52.46, 293.65°) |
| OKLab | oklab(41.3% -0.0018 -0.1382) |
| OKLCH | oklch(41.3% 0.138 269.3) |
| XYZ | xyz(8.4979, 6.6464, 29.2630) |
| Luminance | 0.0665 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.11
Blueberry
#464196
ΔE00 4.41
Cobalt
#0047AB
ΔE00 4.54
Sapphire (survey)
#2138AB
ΔE00 4.80
Darkslateblue
#483D8B
ΔE00 5.92
Darkish Blue
#014182
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4295 #95812E
analogous
#2E7595 #2E4295 #4E2E95
triadic
#2E4295 #952E42 #42952E
tetradic
#2E4295 #952E75 #95812E #2E954E
square
#2E4295 #952E75 #95812E #2E954E
split-complementary
#2E4295 #954E2E #75952E
monochromatic
#111937 #202D66 #2E4295 #3D57C3 #6C80D2
Accessibility & contrast
On white
9.02
#2E4295 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#2E4295 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4295
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4295 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4295 | 1.00 | 9.02 | 2.33 | 9.02 |
| #FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E98
Deuteranopia (green-blind)
#004493
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2e4295; /* rgb */ color: rgb(46, 66, 149); /* oklch */ color: oklch(41.3% 0.138 269.3);
Tailwind
colors: {
custom: {
50: '#7476b5',
500: '#2e4295',
950: '#000000',
},
}SCSS
$custom: #2e4295; $custom-light: #7476b5; $custom-dark: #000000;
JSON
{
"hex": "#2e4295",
"rgb": {
"r": 46,
"g": 66,
"b": 149
},
"hsl": {
"h": 228.35,
"s": 52.821,
"l": 38.235
},
"oklch": {
"l": 0.41299,
"c": 0.13822,
"h": 269.3
},
"luminance": 0.06647
}Semantic roles & 50–950 ramp
primary
#2E4295
secondary
#B9A966
accent
#C04CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80