#262CA7#262CA7
#262CA7 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.6% C 0.191 H 271.1°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).
Color values
| HEX | #262CA7 |
|---|---|
| RGB | rgb(38, 44, 167) |
| HSL | hsl(237, 63%, 40%) |
| HSV | hsv(237, 77%, 65%) |
| CMYK | cmyk(77.2%, 73.7%, 0%, 34.5%) |
| CIE-LAB | lab(26.74, 40.87, -65.95) |
| CIE-LCH | lch(26.74, 77.58, 301.79°) |
| OKLab | oklab(38.56% 0.0038 -0.1909) |
| OKLCH | oklch(38.56% 0.191 271.1) |
| XYZ | xyz(8.6727, 5.0025, 37.0602) |
| Luminance | 0.0500 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.48
Indigo Blue
#3A18B1
ΔE00 4.80
Royal
#0C1793
ΔE00 5.61
True Blue
#010FCC
ΔE00 6.20
Cobalt Blue
#030AA7
ΔE00 6.26
Ultramarine
#2000B1
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262CA7 #A7A126
analogous
#266DA7 #262CA7 #6026A7
triadic
#262CA7 #A7262C #2CA726
tetradic
#262CA7 #A7266D #A7A126 #26A760
square
#262CA7 #A7266D #A7A126 #26A760
split-complementary
#262CA7 #A76026 #6DA726
monochromatic
#0F1243 #1B1F75 #262CA7 #3840D2 #6A70DD
Accessibility & contrast
On white
10.50
#262CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#262CA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262CA7
10.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262CA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262CA7 | 1.00 | 10.50 | 2.00 | 10.50 |
| #FFFFFF | 10.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045AB
Deuteranopia (green-blind)
#0039A5
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #262ca7; /* rgb */ color: rgb(38, 44, 167); /* oklch */ color: oklch(38.6% 0.191 271.1);
Tailwind
colors: {
custom: {
50: '#7766c2',
500: '#262ca7',
950: '#000000',
},
}SCSS
$custom: #262ca7; $custom-light: #7766c2; $custom-dark: #000000;
JSON
{
"hex": "#262ca7",
"rgb": {
"r": 38,
"g": 44,
"b": 167
},
"hsl": {
"h": 237.209,
"s": 62.927,
"l": 40.196
},
"oklch": {
"l": 0.38559,
"c": 0.19098,
"h": 271.1
},
"luminance": 0.05003
}Semantic roles & 50–950 ramp
primary
#262CA7
secondary
#C3BF65
accent
#DE42E6
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82