#262C7A#262C7A
#262C7A is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.1% C 0.131 H 273.8°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).
Color values
| HEX | #262C7A |
|---|---|
| RGB | rgb(38, 44, 122) |
| HSL | hsl(236, 53%, 31%) |
| HSV | hsv(236, 69%, 48%) |
| CMYK | cmyk(68.9%, 63.9%, 0%, 52.2%) |
| CIE-LAB | lab(22.37, 24.58, -45.28) |
| CIE-LCH | lch(22.37, 51.53, 298.50°) |
| OKLab | oklab(34.06% 0.0086 -0.1305) |
| OKLCH | oklch(34.06% 0.131 273.8) |
| XYZ | xyz(5.2117, 3.6181, 18.8323) |
| Luminance | 0.0362 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.31
Darkslateblue
#483D8B
ΔE00 6.75
Royal
#0C1793
ΔE00 7.20
Marine
#042E60
ΔE00 7.21
Blueberry
#464196
ΔE00 7.62
Sapphire (survey)
#2138AB
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262C7A #7A7426
analogous
#26567A #262C7A #4A267A
triadic
#262C7A #7A262C #2C7A26
tetradic
#262C7A #7A2656 #7A7426 #267A4A
square
#262C7A #7A2656 #7A7426 #267A4A
split-complementary
#262C7A #7A4A26 #567A26
monochromatic
#090A1D #171B4B #262C7A #353DA9 #515AC9
Accessibility & contrast
On white
12.18
#262C7A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#262C7A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262C7A
12.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262C7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262C7A | 1.00 | 12.18 | 1.72 | 12.18 |
| #FFFFFF | 12.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00397D
Deuteranopia (green-blind)
#003278
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #262c7a; /* rgb */ color: rgb(38, 44, 122); /* oklch */ color: oklch(34.1% 0.131 273.8);
Tailwind
colors: {
custom: {
50: '#6c65a1',
500: '#262c7a',
950: '#000000',
},
}SCSS
$custom: #262c7a; $custom-light: #6c65a1; $custom-dark: #000000;
JSON
{
"hex": "#262c7a",
"rgb": {
"r": 38,
"g": 44,
"b": 122
},
"hsl": {
"h": 235.714,
"s": 52.5,
"l": 31.373
},
"oklch": {
"l": 0.3406,
"c": 0.13081,
"h": 273.8
},
"luminance": 0.03619
}Semantic roles & 50–950 ramp
primary
#262C7A
secondary
#ACA650
accent
#D24CDC
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07050F
muted
#7A7A7F