#26237F#26237F
#26237F is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.9% C 0.149 H 275.9°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).
Color values
| HEX | #26237F |
|---|---|
| RGB | rgb(38, 35, 127) |
| HSL | hsl(242, 57%, 32%) |
| HSV | hsv(242, 72%, 50%) |
| CMYK | cmyk(70.1%, 72.4%, 0%, 50.2%) |
| CIE-LAB | lab(20.62, 32.33, -51.32) |
| CIE-LCH | lch(20.62, 60.65, 302.21°) |
| OKLab | oklab(32.93% 0.0152 -0.1482) |
| OKLCH | oklch(32.93% 0.149 275.9) |
| XYZ | xyz(5.2299, 3.1460, 20.4062) |
| Luminance | 0.0315 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.30
Royal
#0C1793
ΔE00 4.47
Indigo (survey)
#380282
ΔE00 6.74
Dark Royal Blue
#02066F
ΔE00 6.80
Darkblue
#00008B
ΔE00 7.01
Navy
#000080
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#26237F #7C7F23
analogous
#234E7F #26237F #54237F
triadic
#26237F #7F2623 #237F26
tetradic
#26237F #7F234E #7C7F23 #237F54
square
#26237F #7F234E #7C7F23 #237F54
split-complementary
#26237F #7F5423 #4E7F23
monochromatic
#09091F #18164F #26237F #3430AF #524ECE
Accessibility & contrast
On white
12.89
#26237F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#26237F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #26237F
12.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##26237F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##26237F | 1.00 | 12.89 | 1.63 | 12.89 |
| #FFFFFF | 12.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003682
Deuteranopia (green-blind)
#002E7D
Tritanopia (blue-blind)
#003C4E
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #26237f; /* rgb */ color: rgb(38, 35, 127); /* oklch */ color: oklch(32.9% 0.149 275.9);
Tailwind
colors: {
custom: {
50: '#6e5fa5',
500: '#26237f',
950: '#000000',
},
}SCSS
$custom: #26237f; $custom-light: #6e5fa5; $custom-dark: #000000;
JSON
{
"hex": "#26237f",
"rgb": {
"r": 38,
"g": 35,
"b": 127
},
"hsl": {
"h": 241.957,
"s": 56.79,
"l": 31.765
},
"oklch": {
"l": 0.32934,
"c": 0.14902,
"h": 275.9
},
"luminance": 0.03146
}Semantic roles & 50–950 ramp
primary
#26237F
secondary
#AEB14C
accent
#E048DB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F