#26128F#26128F
#26128F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.6% C 0.184 H 276.0°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).
Color values
| HEX | #26128F |
|---|---|
| RGB | rgb(38, 18, 143) |
| HSL | hsl(250, 78%, 32%) |
| HSV | hsv(250, 87%, 56%) |
| CMYK | cmyk(73.4%, 87.4%, 0%, 43.9%) |
| CIE-LAB | lab(19.34, 46.45, -63.49) |
| CIE-LCH | lch(19.34, 78.67, 306.19°) |
| OKLab | oklab(32.57% 0.0194 -0.1834) |
| OKLCH | oklch(32.57% 0.184 276) |
| XYZ | xyz(5.9719, 2.8273, 26.2123) |
| Luminance | 0.0283 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.12
Darkblue
#00008B
ΔE00 3.37
Cobalt Blue
#030AA7
ΔE00 3.46
Indigo (survey)
#380282
ΔE00 3.67
Royal Blue (survey)
#0504AA
ΔE00 3.85
Navy
#000080
ΔE00 4.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#26128F #7B8F12
analogous
#123D8F #26128F #65128F
triadic
#26128F #8F2612 #128F26
tetradic
#26128F #8F123D #7B8F12 #128F65
square
#26128F #8F123D #7B8F12 #128F65
split-complementary
#26128F #8F6512 #3D8F12
monochromatic
#090422 #180B59 #26128F #3419C5 #5236E6
Accessibility & contrast
On white
13.41
#26128F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#26128F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #26128F
13.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##26128F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##26128F | 1.00 | 13.41 | 1.57 | 13.41 |
| #FFFFFF | 13.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003492
Deuteranopia (green-blind)
#00298D
Tritanopia (blue-blind)
#003C54
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #26128f; /* rgb */ color: rgb(38, 18, 143); /* oklch */ color: oklch(32.6% 0.184 276.0);
Tailwind
colors: {
custom: {
50: '#7356b1',
500: '#26128f',
950: '#000000',
},
}SCSS
$custom: #26128f; $custom-light: #7356b1; $custom-dark: #000000;
JSON
{
"hex": "#26128f",
"rgb": {
"r": 38,
"g": 18,
"b": 143
},
"hsl": {
"h": 249.6,
"s": 77.64,
"l": 31.569
},
"oklch": {
"l": 0.32572,
"c": 0.18446,
"h": 276
},
"luminance": 0.02828
}Semantic roles & 50–950 ramp
primary
#26128F
secondary
#ADC33A
accent
#F434D5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090311
muted
#7B7880