#262C8F#262C8F
#262C8F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.160 H 272.5°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).
Color values
| HEX | #262C8F |
|---|---|
| RGB | rgb(38, 44, 143) |
| HSL | hsl(237, 58%, 35%) |
| HSV | hsv(237, 73%, 56%) |
| CMYK | cmyk(73.4%, 69.2%, 0%, 43.9%) |
| CIE-LAB | lab(24.31, 32.35, -55.28) |
| CIE-LCH | lch(24.31, 64.05, 300.34°) |
| OKLab | oklab(36.08% 0.007 -0.1598) |
| OKLCH | oklch(36.08% 0.16 272.5) |
| XYZ | xyz(6.6563, 4.1959, 26.4404) |
| Luminance | 0.0420 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.99
Royal
#0C1793
ΔE00 5.25
Midnight Blue
#191970
ΔE00 6.37
Darkslateblue
#483D8B
ΔE00 6.68
Blueberry
#464196
ΔE00 6.80
Indigo Blue
#3A18B1
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262C8F #8F8926
analogous
#26618F #262C8F #54268F
triadic
#262C8F #8F262C #2C8F26
tetradic
#262C8F #8F2661 #8F8926 #268F54
square
#262C8F #8F2661 #8F8926 #268F54
split-complementary
#262C8F #8F5426 #618F26
monochromatic
#0C0E2E #191D5F #262C8F #333BBF #5C63D4
Accessibility & contrast
On white
11.42
#262C8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#262C8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262C8F
11.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262C8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262C8F | 1.00 | 11.42 | 1.84 | 11.42 |
| #FFFFFF | 11.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #262c8f; /* rgb */ color: rgb(38, 44, 143); /* oklch */ color: oklch(36.1% 0.160 272.5);
Tailwind
colors: {
custom: {
50: '#7165b1',
500: '#262c8f',
950: '#000000',
},
}SCSS
$custom: #262c8f; $custom-light: #7165b1; $custom-dark: #000000;
JSON
{
"hex": "#262c8f",
"rgb": {
"r": 38,
"g": 44,
"b": 143
},
"hsl": {
"h": 236.571,
"s": 58.011,
"l": 35.49
},
"oklch": {
"l": 0.36077,
"c": 0.15997,
"h": 272.5
},
"luminance": 0.04197
}Semantic roles & 50–950 ramp
primary
#262C8F
secondary
#B9B358
accent
#D847E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80