#262C8E#262C8E
#262C8E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.159 H 272.6°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).
Color values
| HEX | #262C8E |
|---|---|
| RGB | rgb(38, 44, 142) |
| HSL | hsl(237, 58%, 35%) |
| HSV | hsv(237, 73%, 56%) |
| CMYK | cmyk(73.2%, 69%, 0%, 44.3%) |
| CIE-LAB | lab(24.21, 31.99, -54.82) |
| CIE-LCH | lch(24.21, 63.47, 300.26°) |
| OKLab | oklab(35.98% 0.0071 -0.1585) |
| OKLCH | oklch(35.98% 0.159 272.6) |
| XYZ | xyz(6.5809, 4.1658, 26.0432) |
| Luminance | 0.0417 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.10
Royal
#0C1793
ΔE00 5.30
Midnight Blue
#191970
ΔE00 6.28
Darkslateblue
#483D8B
ΔE00 6.65
Blueberry
#464196
ΔE00 6.81
Indigo Blue
#3A18B1
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262C8E #8E8826
analogous
#26608E #262C8E #54268E
triadic
#262C8E #8E262C #2C8E26
tetradic
#262C8E #8E2660 #8E8826 #268E54
square
#262C8E #8E2660 #8E8826 #268E54
split-complementary
#262C8E #8E5426 #608E26
monochromatic
#0C0E2D #191D5E #262C8E #333BBE #5B62D3
Accessibility & contrast
On white
11.46
#262C8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#262C8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262C8E
11.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262C8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262C8E | 1.00 | 11.46 | 1.83 | 11.46 |
| #FFFFFF | 11.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#00358C
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #262c8e; /* rgb */ color: rgb(38, 44, 142); /* oklch */ color: oklch(36.0% 0.159 272.6);
Tailwind
colors: {
custom: {
50: '#7165b0',
500: '#262c8e',
950: '#000000',
},
}SCSS
$custom: #262c8e; $custom-light: #7165b0; $custom-dark: #000000;
JSON
{
"hex": "#262c8e",
"rgb": {
"r": 38,
"g": 44,
"b": 142
},
"hsl": {
"h": 236.538,
"s": 57.778,
"l": 35.294
},
"oklch": {
"l": 0.35978,
"c": 0.15863,
"h": 272.6
},
"luminance": 0.04166
}Semantic roles & 50–950 ramp
primary
#262C8E
secondary
#B8B358
accent
#D847E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80