#262AA3#262AA3
#262AA3 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.8% C 0.188 H 271.6°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).
Color values
| HEX | #262AA3 |
|---|---|
| RGB | rgb(38, 42, 163) |
| HSL | hsl(238, 62%, 39%) |
| HSV | hsv(238, 77%, 64%) |
| CMYK | cmyk(76.7%, 74.2%, 0%, 36.1%) |
| CIE-LAB | lab(25.90, 40.67, -64.92) |
| CIE-LCH | lch(25.90, 76.61, 302.06°) |
| OKLab | oklab(37.83% 0.0053 -0.1879) |
| OKLCH | oklch(37.83% 0.188 271.6) |
| XYZ | xyz(8.2359, 4.7115, 35.1186) |
| Luminance | 0.0471 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.06
Indigo Blue
#3A18B1
ΔE00 4.65
Royal
#0C1793
ΔE00 4.95
Cobalt Blue
#030AA7
ΔE00 5.81
Royal Blue (survey)
#0504AA
ΔE00 6.29
True Blue
#010FCC
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262AA3 #A39F26
analogous
#2669A3 #262AA3 #6126A3
triadic
#262AA3 #A3262A #2AA326
tetradic
#262AA3 #A32669 #A39F26 #26A361
square
#262AA3 #A32669 #A39F26 #26A361
split-complementary
#262AA3 #A36126 #69A326
monochromatic
#0F1040 #1A1D71 #262AA3 #363BD0 #686BDC
Accessibility & contrast
On white
10.81
#262AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#262AA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262AA3
10.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262AA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262AA3 | 1.00 | 10.81 | 1.94 | 10.81 |
| #FFFFFF | 10.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A7
Deuteranopia (green-blind)
#0037A1
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #262aa3; /* rgb */ color: rgb(38, 42, 163); /* oklch */ color: oklch(37.8% 0.188 271.6);
Tailwind
colors: {
custom: {
50: '#7665bf',
500: '#262aa3',
950: '#000000',
},
}SCSS
$custom: #262aa3; $custom-light: #7665bf; $custom-dark: #000000;
JSON
{
"hex": "#262aa3",
"rgb": {
"r": 38,
"g": 42,
"b": 163
},
"hsl": {
"h": 238.08,
"s": 62.189,
"l": 39.412
},
"oklch": {
"l": 0.3783,
"c": 0.18801,
"h": 271.6
},
"luminance": 0.04712
}Semantic roles & 50–950 ramp
primary
#262AA3
secondary
#C2BF63
accent
#E043E5
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81