#262D8F#262D8F
#262D8F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.3% C 0.159 H 272.3°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).
Color values
| HEX | #262D8F |
|---|---|
| RGB | rgb(38, 45, 143) |
| HSL | hsl(236, 58%, 35%) |
| HSV | hsv(236, 73%, 56%) |
| CMYK | cmyk(73.4%, 68.5%, 0%, 43.9%) |
| CIE-LAB | lab(24.55, 31.70, -54.88) |
| CIE-LCH | lch(24.55, 63.38, 300.01°) |
| OKLab | oklab(36.25% 0.0063 -0.1587) |
| OKLCH | oklch(36.25% 0.159 272.3) |
| XYZ | xyz(6.6940, 4.2713, 26.4529) |
| Luminance | 0.0427 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.83
Royal
#0C1793
ΔE00 5.53
Darkslateblue
#483D8B
ΔE00 6.53
Midnight Blue
#191970
ΔE00 6.56
Blueberry
#464196
ΔE00 6.60
Indigo Blue
#3A18B1
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262D8F #8F8826
analogous
#26618F #262D8F #53268F
triadic
#262D8F #8F262D #2D8F26
tetradic
#262D8F #8F2661 #8F8826 #268F53
square
#262D8F #8F2661 #8F8826 #268F53
split-complementary
#262D8F #8F5326 #618F26
monochromatic
#0C0F2E #191E5F #262D8F #333CBF #5C64D4
Accessibility & contrast
On white
11.32
#262D8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#262D8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262D8F
11.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262D8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262D8F | 1.00 | 11.32 | 1.85 | 11.32 |
| #FFFFFF | 11.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #262d8f; /* rgb */ color: rgb(38, 45, 143); /* oklch */ color: oklch(36.3% 0.159 272.3);
Tailwind
colors: {
custom: {
50: '#7166b1',
500: '#262d8f',
950: '#000000',
},
}SCSS
$custom: #262d8f; $custom-light: #7166b1; $custom-dark: #000000;
JSON
{
"hex": "#262d8f",
"rgb": {
"r": 38,
"g": 45,
"b": 143
},
"hsl": {
"h": 236,
"s": 58.011,
"l": 35.49
},
"oklch": {
"l": 0.36251,
"c": 0.15879,
"h": 272.3
},
"luminance": 0.04272
}Semantic roles & 50–950 ramp
primary
#262D8F
secondary
#B9B258
accent
#D747E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80