#262BA5#262BA5
#262BA5 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.189 H 271.4°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).
Color values
| HEX | #262BA5 |
|---|---|
| RGB | rgb(38, 43, 165) |
| HSL | hsl(238, 63%, 40%) |
| HSV | hsv(238, 77%, 65%) |
| CMYK | cmyk(77%, 73.9%, 0%, 35.3%) |
| CIE-LAB | lab(26.32, 40.77, -65.44) |
| CIE-LCH | lch(26.32, 77.10, 301.92°) |
| OKLab | oklab(38.2% 0.0045 -0.1894) |
| OKLCH | oklch(38.2% 0.189 271.4) |
| XYZ | xyz(8.4524, 4.8555, 36.0818) |
| Luminance | 0.0486 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.76
Indigo Blue
#3A18B1
ΔE00 4.71
Royal
#0C1793
ΔE00 5.27
Cobalt Blue
#030AA7
ΔE00 6.03
True Blue
#010FCC
ΔE00 6.24
Royal Blue (survey)
#0504AA
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262BA5 #A5A026
analogous
#266AA5 #262BA5 #6126A5
triadic
#262BA5 #A5262B #2BA526
tetradic
#262BA5 #A5266A #A5A026 #26A561
square
#262BA5 #A5266A #A5A026 #26A561
split-complementary
#262BA5 #A56126 #6AA526
monochromatic
#0F1142 #1B1E73 #262BA5 #373DD1 #696EDC
Accessibility & contrast
On white
10.65
#262BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#262BA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262BA5
10.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262BA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262BA5 | 1.00 | 10.65 | 1.97 | 10.65 |
| #FFFFFF | 10.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A9
Deuteranopia (green-blind)
#0038A3
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #262ba5; /* rgb */ color: rgb(38, 43, 165); /* oklch */ color: oklch(38.2% 0.189 271.4);
Tailwind
colors: {
custom: {
50: '#7666c1',
500: '#262ba5',
950: '#000000',
},
}SCSS
$custom: #262ba5; $custom-light: #7666c1; $custom-dark: #000000;
JSON
{
"hex": "#262ba5",
"rgb": {
"r": 38,
"g": 43,
"b": 165
},
"hsl": {
"h": 237.638,
"s": 62.562,
"l": 39.804
},
"oklch": {
"l": 0.38195,
"c": 0.18949,
"h": 271.4
},
"luminance": 0.04856
}Semantic roles & 50–950 ramp
primary
#262BA5
secondary
#C3BF64
accent
#DF42E6
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81