#262A9F#262A9F
#262A9F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.183 H 271.9°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).
Color values
| HEX | #262A9F |
|---|---|
| RGB | rgb(38, 42, 159) |
| HSL | hsl(238, 61%, 39%) |
| HSV | hsv(238, 76%, 62%) |
| CMYK | cmyk(76.1%, 73.6%, 0%, 37.6%) |
| CIE-LAB | lab(25.47, 39.28, -63.19) |
| CIE-LCH | lch(25.47, 74.40, 301.87°) |
| OKLab | oklab(37.4% 0.0059 -0.1829) |
| OKLCH | oklch(37.4% 0.183 271.9) |
| XYZ | xyz(7.8832, 4.5704, 33.2609) |
| Luminance | 0.0457 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.20
Royal
#0C1793
ΔE00 4.74
Indigo Blue
#3A18B1
ΔE00 4.99
Cobalt Blue
#030AA7
ΔE00 5.91
Royal Blue (survey)
#0504AA
ΔE00 6.42
Ultramarine
#2000B1
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262A9F #9F9B26
analogous
#26669F #262A9F #5E269F
triadic
#262A9F #9F262A #2A9F26
tetradic
#262A9F #9F2666 #9F9B26 #269F5E
square
#262A9F #9F2666 #9F9B26 #269F5E
split-complementary
#262A9F #9F5E26 #669F26
monochromatic
#0E103C #1A1D6E #262A9F #3439CE #6569DA
Accessibility & contrast
On white
10.97
#262A9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#262A9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262A9F
10.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262A9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262A9F | 1.00 | 10.97 | 1.91 | 10.97 |
| #FFFFFF | 10.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#00369D
Tritanopia (blue-blind)
#004B62
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #262a9f; /* rgb */ color: rgb(38, 42, 159); /* oklch */ color: oklch(37.4% 0.183 271.9);
Tailwind
colors: {
custom: {
50: '#7565bd',
500: '#262a9f',
950: '#000000',
},
}SCSS
$custom: #262a9f; $custom-light: #7565bd; $custom-dark: #000000;
JSON
{
"hex": "#262a9f",
"rgb": {
"r": 38,
"g": 42,
"b": 159
},
"hsl": {
"h": 238.017,
"s": 61.421,
"l": 38.627
},
"oklch": {
"l": 0.37403,
"c": 0.18299,
"h": 271.9
},
"luminance": 0.04571
}Semantic roles & 50–950 ramp
primary
#262A9F
secondary
#C0BD61
accent
#DF43E5
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81