#26179E#26179E
#26179E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.9% C 0.198 H 273.8°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).
Color values
| HEX | #26179E |
|---|---|
| RGB | rgb(38, 23, 158) |
| HSL | hsl(247, 75%, 35%) |
| HSV | hsv(247, 85%, 62%) |
| CMYK | cmyk(75.9%, 85.4%, 0%, 38%) |
| CIE-LAB | lab(21.92, 48.85, -68.47) |
| CIE-LCH | lch(21.92, 84.11, 305.51°) |
| OKLab | oklab(34.88% 0.0133 -0.198) |
| OKLCH | oklch(34.88% 0.198 273.8) |
| XYZ | xyz(7.2752, 3.4927, 32.6319) |
| Luminance | 0.0349 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt Blue
#030AA7
ΔE00 2.42
Royal
#0C1793
ΔE00 2.46
Royal Blue (survey)
#0504AA
ΔE00 2.85
Ultramarine
#2000B1
ΔE00 3.18
Indigo Blue
#3A18B1
ΔE00 3.42
Darkblue
#00008B
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#26179E #8F9E17
analogous
#174B9E #26179E #6A179E
triadic
#26179E #9E2617 #179E26
tetradic
#26179E #9E174B #8F9E17 #179E6A
square
#26179E #9E174B #8F9E17 #179E6A
split-complementary
#26179E #9E6A17 #4B9E17
monochromatic
#0C0733 #190F69 #26179E #331FD3 #5C4BE5
Accessibility & contrast
On white
12.36
#26179E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#26179E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #26179E
12.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##26179E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##26179E | 1.00 | 12.36 | 1.70 | 12.36 |
| #FFFFFF | 12.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003AA2
Deuteranopia (green-blind)
#002E9C
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #26179e; /* rgb */ color: rgb(38, 23, 158); /* oklch */ color: oklch(34.9% 0.198 273.8);
Tailwind
colors: {
custom: {
50: '#765abc',
500: '#26179e',
950: '#000000',
},
}SCSS
$custom: #26179e; $custom-light: #765abc; $custom-dark: #000000;
JSON
{
"hex": "#26179e",
"rgb": {
"r": 38,
"g": 23,
"b": 158
},
"hsl": {
"h": 246.667,
"s": 74.586,
"l": 35.49
},
"oklch": {
"l": 0.34877,
"c": 0.19841,
"h": 273.8
},
"luminance": 0.03493
}Semantic roles & 50–950 ramp
primary
#26179E
secondary
#B9C64A
accent
#F137DC
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981