#262C7C#262C7C
#262C7C is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.2% C 0.134 H 273.7°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).
Color values
| HEX | #262C7C |
|---|---|
| RGB | rgb(38, 44, 124) |
| HSL | hsl(236, 53%, 32%) |
| HSV | hsv(236, 69%, 49%) |
| CMYK | cmyk(69.4%, 64.5%, 0%, 51.4%) |
| CIE-LAB | lab(22.54, 25.33, -46.27) |
| CIE-LCH | lch(22.54, 52.75, 298.70°) |
| OKLab | oklab(34.24% 0.0085 -0.1334) |
| OKLCH | oklch(34.24% 0.134 273.7) |
| XYZ | xyz(5.3369, 3.6682, 19.4917) |
| Luminance | 0.0367 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.31
Darkslateblue
#483D8B
ΔE00 6.67
Royal
#0C1793
ΔE00 6.94
Sapphire (survey)
#2138AB
ΔE00 7.40
Marine
#042E60
ΔE00 7.42
Blueberry
#464196
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262C7C #7C7626
analogous
#26577C #262C7C #4B267C
triadic
#262C7C #7C262C #2C7C26
tetradic
#262C7C #7C2657 #7C7626 #267C4B
square
#262C7C #7C2657 #7C7626 #267C4B
split-complementary
#262C7C #7C4B26 #577C26
monochromatic
#090B1E #181B4D #262C7C #343DAB #525BCA
Accessibility & contrast
On white
12.11
#262C7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#262C7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262C7C
12.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262C7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262C7C | 1.00 | 12.11 | 1.73 | 12.11 |
| #FFFFFF | 12.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A7F
Deuteranopia (green-blind)
#00327A
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #262c7c; /* rgb */ color: rgb(38, 44, 124); /* oklch */ color: oklch(34.2% 0.134 273.7);
Tailwind
colors: {
custom: {
50: '#6c65a3',
500: '#262c7c',
950: '#000000',
},
}SCSS
$custom: #262c7c; $custom-light: #6c65a3; $custom-dark: #000000;
JSON
{
"hex": "#262c7c",
"rgb": {
"r": 38,
"g": 44,
"b": 124
},
"hsl": {
"h": 235.814,
"s": 53.086,
"l": 31.765
},
"oklch": {
"l": 0.34245,
"c": 0.13368,
"h": 273.7
},
"luminance": 0.03669
}Semantic roles & 50–950 ramp
primary
#262C7C
secondary
#AEA750
accent
#D24BDC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08050F
muted
#7A7A7F