#262C8C#262C8C
#262C8C is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.8% C 0.156 H 272.7°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).
Color values
| HEX | #262C8C |
|---|---|
| RGB | rgb(38, 44, 140) |
| HSL | hsl(236, 57%, 35%) |
| HSV | hsv(236, 73%, 55%) |
| CMYK | cmyk(72.9%, 68.6%, 0%, 45.1%) |
| CIE-LAB | lab(24.02, 31.26, -53.89) |
| CIE-LCH | lch(24.02, 62.30, 300.11°) |
| OKLab | oklab(35.78% 0.0073 -0.1558) |
| OKLCH | oklch(35.78% 0.156 272.7) |
| XYZ | xyz(6.4320, 4.1062, 25.2595) |
| Luminance | 0.0411 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.32
Royal
#0C1793
ΔE00 5.41
Midnight Blue
#191970
ΔE00 6.10
Darkslateblue
#483D8B
ΔE00 6.60
Blueberry
#464196
ΔE00 6.83
Indigo Blue
#3A18B1
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262C8C #8C8626
analogous
#265F8C #262C8C #53268C
triadic
#262C8C #8C262C #2C8C26
tetradic
#262C8C #8C265F #8C8626 #268C53
square
#262C8C #8C265F #8C8626 #268C53
split-complementary
#262C8C #8C5326 #5F8C26
monochromatic
#0C0E2C #191D5C #262C8C #333BBC #5A61D2
Accessibility & contrast
On white
11.53
#262C8C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#262C8C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262C8C
11.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262C8C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262C8C | 1.00 | 11.53 | 1.82 | 11.53 |
| #FFFFFF | 11.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E8F
Deuteranopia (green-blind)
#00348A
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #262c8c; /* rgb */ color: rgb(38, 44, 140); /* oklch */ color: oklch(35.8% 0.156 272.7);
Tailwind
colors: {
custom: {
50: '#7065af',
500: '#262c8c',
950: '#000000',
},
}SCSS
$custom: #262c8c; $custom-light: #7065af; $custom-dark: #000000;
JSON
{
"hex": "#262c8c",
"rgb": {
"r": 38,
"g": 44,
"b": 140
},
"hsl": {
"h": 236.471,
"s": 57.303,
"l": 34.902
},
"oklch": {
"l": 0.35779,
"c": 0.15593,
"h": 272.7
},
"luminance": 0.04107
}Semantic roles & 50–950 ramp
primary
#262C8C
secondary
#B7B157
accent
#D847E1
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090510
muted
#7B7A7F