#2E3698#2E3698
#2E3698 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.2% C 0.158 H 273.0°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3698 |
|---|---|
| RGB | rgb(46, 54, 152) |
| HSL | hsl(235, 54%, 39%) |
| HSV | hsv(235, 70%, 60%) |
| CMYK | cmyk(69.7%, 64.5%, 0%, 40.4%) |
| CIE-LAB | lab(28.08, 30.16, -54.63) |
| CIE-LCH | lch(28.08, 62.40, 298.90°) |
| OKLab | oklab(39.21% 0.0084 -0.1577) |
| OKLCH | oklch(39.21% 0.158 273) |
| XYZ | xyz(8.1115, 5.4854, 30.3310) |
| Luminance | 0.0549 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.90
Blueberry
#464196
ΔE00 4.45
Darkslateblue
#483D8B
ΔE00 5.23
Ocean Blue
#4F42B5
ΔE00 6.71
Blue Blue
#2242C7
ΔE00 7.09
Cobalt
#0047AB
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3698 #98902E
analogous
#2E6B98 #2E3698 #5B2E98
triadic
#2E3698 #982E36 #36982E
tetradic
#2E3698 #982E6B #98902E #2E985B
square
#2E3698 #982E6B #98902E #2E985B
split-complementary
#2E3698 #985B2E #6B982E
monochromatic
#12153A #202569 #2E3698 #3E49C5 #6D75D3
Accessibility & contrast
On white
10.01
#2E3698 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#2E3698 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3698
10.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3698 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3698 | 1.00 | 10.01 | 2.10 | 10.01 |
| #FFFFFF | 10.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00479B
Deuteranopia (green-blind)
#003D96
Tritanopia (blue-blind)
#004F62
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2e3698; /* rgb */ color: rgb(46, 54, 152); /* oklch */ color: oklch(39.2% 0.158 273.0);
Tailwind
colors: {
custom: {
50: '#756db7',
500: '#2e3698',
950: '#000000',
},
}SCSS
$custom: #2e3698; $custom-light: #756db7; $custom-dark: #000000;
JSON
{
"hex": "#2e3698",
"rgb": {
"r": 46,
"g": 54,
"b": 152
},
"hsl": {
"h": 235.472,
"s": 53.535,
"l": 38.824
},
"oklch": {
"l": 0.39211,
"c": 0.15788,
"h": 273
},
"luminance": 0.05486
}Semantic roles & 50–950 ramp
primary
#2E3698
secondary
#BAB468
accent
#D24BDD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80