#2E268B#2E268B
#2E268B is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.2% C 0.160 H 277.9°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).
Color values
| HEX | #2E268B |
|---|---|
| RGB | rgb(46, 38, 139) |
| HSL | hsl(245, 57%, 35%) |
| HSV | hsv(245, 73%, 55%) |
| CMYK | cmyk(66.9%, 72.7%, 0%, 45.5%) |
| CIE-LAB | lab(23.10, 35.69, -54.75) |
| CIE-LCH | lch(23.10, 65.36, 303.10°) |
| OKLab | oklab(35.24% 0.0219 -0.1581) |
| OKLCH | oklch(35.24% 0.16 277.9) |
| XYZ | xyz(6.4785, 3.8306, 24.8191) |
| Luminance | 0.0383 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.23
Midnight Blue
#191970
ΔE00 5.25
Indigo Blue
#3A18B1
ΔE00 6.28
Cobalt Blue
#030AA7
ΔE00 6.48
Indigo (survey)
#380282
ΔE00 6.71
Sapphire (survey)
#2138AB
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E268B #838B26
analogous
#26518B #2E268B #60268B
triadic
#2E268B #8B2E26 #268B2E
tetradic
#2E268B #8B2651 #838B26 #268B60
square
#2E268B #8B2651 #838B26 #268B60
split-complementary
#2E268B #8B6026 #518B26
monochromatic
#0E0C2B #1E195B #2E268B #3E33BB #635AD2
Accessibility & contrast
On white
11.89
#2E268B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#2E268B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E268B
11.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E268B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E268B | 1.00 | 11.89 | 1.77 | 11.89 |
| #FFFFFF | 11.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B8E
Deuteranopia (green-blind)
#003389
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2e268b; /* rgb */ color: rgb(46, 38, 139); /* oklch */ color: oklch(35.2% 0.160 277.9);
Tailwind
colors: {
custom: {
50: '#7462ae',
500: '#2e268b',
950: '#000000',
},
}SCSS
$custom: #2e268b; $custom-light: #7462ae; $custom-dark: #000000;
JSON
{
"hex": "#2e268b",
"rgb": {
"r": 46,
"g": 38,
"b": 139
},
"hsl": {
"h": 244.752,
"s": 57.062,
"l": 34.706
},
"oklch": {
"l": 0.35236,
"c": 0.15957,
"h": 277.9
},
"luminance": 0.03831
}Semantic roles & 50–950 ramp
primary
#2E268B
secondary
#AFB756
accent
#E047D4
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F