#2E268F#2E268F
#2E268F is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.6% C 0.165 H 277.4°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2E268F |
|---|---|
| RGB | rgb(46, 38, 143) |
| HSL | hsl(245, 58%, 35%) |
| HSV | hsv(245, 73%, 56%) |
| CMYK | cmyk(67.8%, 73.4%, 0%, 43.9%) |
| CIE-LAB | lab(23.50, 37.05, -56.58) |
| CIE-LCH | lch(23.50, 67.63, 303.22°) |
| OKLab | oklab(35.64% 0.0211 -0.1634) |
| OKLCH | oklch(35.64% 0.165 277.4) |
| XYZ | xyz(6.7761, 3.9497, 26.3865) |
| Luminance | 0.0395 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.04
Midnight Blue
#191970
ΔE00 5.71
Indigo Blue
#3A18B1
ΔE00 5.72
Cobalt Blue
#030AA7
ΔE00 6.09
Sapphire (survey)
#2138AB
ΔE00 6.37
Royal Blue (survey)
#0504AA
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E268F #878F26
analogous
#26538F #2E268F #62268F
triadic
#2E268F #8F2E26 #268F2E
tetradic
#2E268F #8F2653 #878F26 #268F62
square
#2E268F #8F2653 #878F26 #268F62
split-complementary
#2E268F #8F6226 #538F26
monochromatic
#0F0C2E #1E195F #2E268F #3E33BF #655CD4
Accessibility & contrast
On white
11.73
#2E268F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#2E268F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E268F
11.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E268F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E268F | 1.00 | 11.73 | 1.79 | 11.73 |
| #FFFFFF | 11.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#00338D
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2e268f; /* rgb */ color: rgb(46, 38, 143); /* oklch */ color: oklch(35.6% 0.165 277.4);
Tailwind
colors: {
custom: {
50: '#7562b1',
500: '#2e268f',
950: '#000000',
},
}SCSS
$custom: #2e268f; $custom-light: #7562b1; $custom-dark: #000000;
JSON
{
"hex": "#2e268f",
"rgb": {
"r": 46,
"g": 38,
"b": 143
},
"hsl": {
"h": 244.571,
"s": 58.011,
"l": 35.49
},
"oklch": {
"l": 0.35643,
"c": 0.16476,
"h": 277.4
},
"luminance": 0.0395
}Semantic roles & 50–950 ramp
primary
#2E268F
secondary
#B1B958
accent
#E147D5
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980