#26338C#26338C
#26338C is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.1% C 0.147 H 270.9°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).
Color values
| HEX | #26338C |
|---|---|
| RGB | rgb(38, 51, 140) |
| HSL | hsl(232, 57%, 35%) |
| HSV | hsv(232, 73%, 55%) |
| CMYK | cmyk(72.9%, 63.6%, 0%, 45.1%) |
| CIE-LAB | lab(25.78, 26.61, -51.01) |
| CIE-LCH | lch(25.78, 57.53, 297.55°) |
| OKLab | oklab(37.07% 0.0023 -0.1473) |
| OKLCH | oklch(37.07% 0.147 270.9) |
| XYZ | xyz(6.7152, 4.6725, 25.3538) |
| Luminance | 0.0467 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.57
Blueberry
#464196
ΔE00 5.65
Darkslateblue
#483D8B
ΔE00 5.81
Royal
#0C1793
ΔE00 7.50
Midnight Blue
#191970
ΔE00 7.79
Cobalt (survey)
#1E488F
ΔE00 7.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#26338C #8C7F26
analogous
#26668C #26338C #4C268C
triadic
#26338C #8C2633 #338C26
tetradic
#26338C #8C2666 #8C7F26 #268C4C
square
#26338C #8C2666 #8C7F26 #268C4C
split-complementary
#26338C #8C4C26 #668C26
monochromatic
#0C102C #19215C #26338C #3345BC #5A69D2
Accessibility & contrast
On white
10.85
#26338C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#26338C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #26338C
10.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##26338C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##26338C | 1.00 | 10.85 | 1.93 | 10.85 |
| #FFFFFF | 10.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00428F
Deuteranopia (green-blind)
#00388A
Tritanopia (blue-blind)
#004A5A
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #26338c; /* rgb */ color: rgb(38, 51, 140); /* oklch */ color: oklch(37.1% 0.147 270.9);
Tailwind
colors: {
custom: {
50: '#6f6aae',
500: '#26338c',
950: '#000000',
},
}SCSS
$custom: #26338c; $custom-light: #6f6aae; $custom-dark: #000000;
JSON
{
"hex": "#26338c",
"rgb": {
"r": 38,
"g": 51,
"b": 140
},
"hsl": {
"h": 232.353,
"s": 57.303,
"l": 34.902
},
"oklch": {
"l": 0.37069,
"c": 0.14729,
"h": 270.9
},
"luminance": 0.04673
}Semantic roles & 50–950 ramp
primary
#26338C
secondary
#B7AB57
accent
#CD47E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F