#262AA4#262AA4
#262AA4 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.9% C 0.189 H 271.6°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).
Color values
| HEX | #262AA4 |
|---|---|
| RGB | rgb(38, 42, 164) |
| HSL | hsl(238, 62%, 40%) |
| HSV | hsv(238, 77%, 64%) |
| CMYK | cmyk(76.8%, 74.4%, 0%, 35.7%) |
| CIE-LAB | lab(26.00, 41.01, -65.35) |
| CIE-LCH | lch(26.00, 77.16, 302.11°) |
| OKLab | oklab(37.94% 0.0051 -0.1892) |
| OKLCH | oklch(37.94% 0.189 271.6) |
| XYZ | xyz(8.3259, 4.7474, 35.5923) |
| Luminance | 0.0475 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.03
Indigo Blue
#3A18B1
ΔE00 4.58
Royal
#0C1793
ΔE00 5.01
Cobalt Blue
#030AA7
ΔE00 5.80
True Blue
#010FCC
ΔE00 6.18
Royal Blue (survey)
#0504AA
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262AA4 #A4A026
analogous
#2669A4 #262AA4 #6126A4
triadic
#262AA4 #A4262A #2AA426
tetradic
#262AA4 #A42669 #A4A026 #26A461
square
#262AA4 #A42669 #A4A026 #26A461
split-complementary
#262AA4 #A46126 #69A426
monochromatic
#0F1141 #1A1D72 #262AA4 #373CD1 #686CDC
Accessibility & contrast
On white
10.77
#262AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#262AA4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262AA4
10.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262AA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262AA4 | 1.00 | 10.77 | 1.95 | 10.77 |
| #FFFFFF | 10.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A8
Deuteranopia (green-blind)
#0037A2
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #262aa4; /* rgb */ color: rgb(38, 42, 164); /* oklch */ color: oklch(37.9% 0.189 271.6);
Tailwind
colors: {
custom: {
50: '#7665c0',
500: '#262aa4',
950: '#000000',
},
}SCSS
$custom: #262aa4; $custom-light: #7665c0; $custom-dark: #000000;
JSON
{
"hex": "#262aa4",
"rgb": {
"r": 38,
"g": 42,
"b": 164
},
"hsl": {
"h": 238.095,
"s": 62.376,
"l": 39.608
},
"oklch": {
"l": 0.37938,
"c": 0.18926,
"h": 271.6
},
"luminance": 0.04748
}Semantic roles & 50–950 ramp
primary
#262AA4
secondary
#C2BF64
accent
#E042E5
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81