#26338E#26338E
#26338E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.3% C 0.150 H 270.8°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).
Color values
| HEX | #26338E |
|---|---|
| RGB | rgb(38, 51, 142) |
| HSL | hsl(233, 58%, 35%) |
| HSV | hsv(233, 73%, 56%) |
| CMYK | cmyk(73.2%, 64.1%, 0%, 44.3%) |
| CIE-LAB | lab(25.96, 27.37, -51.96) |
| CIE-LCH | lch(25.96, 58.73, 297.78°) |
| OKLab | oklab(37.25% 0.0022 -0.15) |
| OKLCH | oklch(37.25% 0.15 270.8) |
| XYZ | xyz(6.8640, 4.7320, 26.1376) |
| Luminance | 0.0473 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.27
Blueberry
#464196
ΔE00 5.60
Darkslateblue
#483D8B
ΔE00 5.84
Royal
#0C1793
ΔE00 7.38
Midnight Blue
#191970
ΔE00 7.89
Cobalt
#0047AB
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#26338E #8E8126
analogous
#26678E #26338E #4D268E
triadic
#26338E #8E2633 #338E26
tetradic
#26338E #8E2667 #8E8126 #268E4D
square
#26338E #8E2667 #8E8126 #268E4D
split-complementary
#26338E #8E4D26 #678E26
monochromatic
#0C102D #19225E #26338E #3344BE #5B6AD3
Accessibility & contrast
On white
10.79
#26338E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#26338E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #26338E
10.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##26338E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##26338E | 1.00 | 10.79 | 1.95 | 10.79 |
| #FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#00398C
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #26338e; /* rgb */ color: rgb(38, 51, 142); /* oklch */ color: oklch(37.3% 0.150 270.8);
Tailwind
colors: {
custom: {
50: '#706ab0',
500: '#26338e',
950: '#000000',
},
}SCSS
$custom: #26338e; $custom-light: #706ab0; $custom-dark: #000000;
JSON
{
"hex": "#26338e",
"rgb": {
"r": 38,
"g": 51,
"b": 142
},
"hsl": {
"h": 232.5,
"s": 57.778,
"l": 35.294
},
"oklch": {
"l": 0.37254,
"c": 0.15007,
"h": 270.8
},
"luminance": 0.04733
}Semantic roles & 50–950 ramp
primary
#26338E
secondary
#B8AC58
accent
#CE47E1
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80