#26316C#26316C
#26316C is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.9% C 0.103 H 271.9°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).
Color values
| HEX | #26316C |
|---|---|
| RGB | rgb(38, 49, 108) |
| HSL | hsl(231, 48%, 29%) |
| HSV | hsv(231, 65%, 42%) |
| CMYK | cmyk(64.8%, 54.6%, 0%, 57.6%) |
| CIE-LAB | lab(22.62, 15.78, -35.90) |
| CIE-LCH | lch(22.62, 39.22, 293.73°) |
| OKLab | oklab(33.89% 0.0034 -0.1029) |
| OKLCH | oklch(33.89% 0.103 271.9) |
| XYZ | xyz(4.6035, 3.6910, 14.6543) |
| Luminance | 0.0369 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.00
Navy Blue
#1B2A4A
ΔE00 6.68
Marine Blue
#01386A
ΔE00 6.79
Darkslateblue
#483D8B
ΔE00 7.62
Midnight Blue
#191970
ΔE00 7.86
Darkish Blue
#014182
ΔE00 8.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#26316C #6C6126
analogous
#26546C #26316C #3E266C
triadic
#26316C #6C2631 #316C26
tetradic
#26316C #6C2654 #6C6126 #266C3E
square
#26316C #6C2654 #6C6126 #266C3E
split-complementary
#26316C #6C3E26 #546C26
monochromatic
#080A17 #161C3F #26316C #364699 #4C5EC0
Accessibility & contrast
On white
12.08
#26316C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#26316C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #26316C
12.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##26316C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##26316C | 1.00 | 12.08 | 1.74 | 12.08 |
| #FFFFFF | 12.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E396E
Deuteranopia (green-blind)
#00336B
Tritanopia (blue-blind)
#003F49
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #26316c; /* rgb */ color: rgb(38, 49, 108); /* oklch */ color: oklch(33.9% 0.103 271.9);
Tailwind
colors: {
custom: {
50: '#686896',
500: '#26316c',
950: '#000000',
},
}SCSS
$custom: #26316c; $custom-light: #686896; $custom-dark: #000000;
JSON
{
"hex": "#26316c",
"rgb": {
"r": 38,
"g": 49,
"b": 108
},
"hsl": {
"h": 230.571,
"s": 47.945,
"l": 28.627
},
"oklch": {
"l": 0.33894,
"c": 0.10294,
"h": 271.9
},
"luminance": 0.03691
}Semantic roles & 50–950 ramp
primary
#26316C
secondary
#9F924F
accent
#C250D8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060D
muted
#7A7A7E