#262CA1#262CA1
#262CA1 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.9% C 0.183 H 271.5°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).
Color values
| HEX | #262CA1 |
|---|---|
| RGB | rgb(38, 44, 161) |
| HSL | hsl(237, 62%, 39%) |
| HSV | hsv(237, 76%, 63%) |
| CMYK | cmyk(76.4%, 72.7%, 0%, 36.9%) |
| CIE-LAB | lab(26.12, 38.78, -63.35) |
| CIE-LCH | lch(26.12, 74.27, 301.47°) |
| OKLab | oklab(37.92% 0.0047 -0.1834) |
| OKLCH | oklch(37.92% 0.183 271.5) |
| XYZ | xyz(8.1309, 4.7858, 34.2065) |
| Luminance | 0.0479 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.63
Indigo Blue
#3A18B1
ΔE00 5.23
Royal
#0C1793
ΔE00 5.28
Cobalt Blue
#030AA7
ΔE00 6.35
True Blue
#010FCC
ΔE00 6.85
Royal Blue (survey)
#0504AA
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262CA1 #A19B26
analogous
#266AA1 #262CA1 #5E26A1
triadic
#262CA1 #A1262C #2CA126
tetradic
#262CA1 #A1266A #A19B26 #26A15E
square
#262CA1 #A1266A #A19B26 #26A15E
split-complementary
#262CA1 #A15E26 #6AA126
monochromatic
#0F113E #1A1E6F #262CA1 #353CCF #666CDB
Accessibility & contrast
On white
10.73
#262CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#262CA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262CA1
10.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262CA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262CA1 | 1.00 | 10.73 | 1.96 | 10.73 |
| #FFFFFF | 10.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#00389F
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #262ca1; /* rgb */ color: rgb(38, 44, 161); /* oklch */ color: oklch(37.9% 0.183 271.5);
Tailwind
colors: {
custom: {
50: '#7566be',
500: '#262ca1',
950: '#000000',
},
}SCSS
$custom: #262ca1; $custom-light: #7566be; $custom-dark: #000000;
JSON
{
"hex": "#262ca1",
"rgb": {
"r": 38,
"g": 44,
"b": 161
},
"hsl": {
"h": 237.073,
"s": 61.809,
"l": 39.02
},
"oklch": {
"l": 0.37924,
"c": 0.18342,
"h": 271.5
},
"luminance": 0.04787
}Semantic roles & 50–950 ramp
primary
#262CA1
secondary
#C1BC62
accent
#DD43E5
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81