#262A8C#262A8C
#262A8C is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.4% C 0.158 H 273.1°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).
Color values
| HEX | #262A8C |
|---|---|
| RGB | rgb(38, 42, 140) |
| HSL | hsl(238, 57%, 35%) |
| HSV | hsv(238, 73%, 55%) |
| CMYK | cmyk(72.9%, 70%, 0%, 45.1%) |
| CIE-LAB | lab(23.54, 32.55, -54.68) |
| CIE-LCH | lch(23.54, 63.63, 300.76°) |
| OKLab | oklab(35.43% 0.0086 -0.1581) |
| OKLCH | oklch(35.43% 0.158 273.1) |
| XYZ | xyz(6.3593, 3.9608, 25.2352) |
| Luminance | 0.0396 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.86
Sapphire (survey)
#2138AB
ΔE00 5.65
Midnight Blue
#191970
ΔE00 5.72
Darkslateblue
#483D8B
ΔE00 6.93
Indigo Blue
#3A18B1
ΔE00 7.17
Cobalt Blue
#030AA7
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262A8C #8C8826
analogous
#265D8C #262A8C #55268C
triadic
#262A8C #8C262A #2A8C26
tetradic
#262A8C #8C265D #8C8826 #268C55
square
#262A8C #8C265D #8C8826 #268C55
split-complementary
#262A8C #8C5526 #5D8C26
monochromatic
#0C0D2C #191C5C #262A8C #3338BC #5A5FD2
Accessibility & contrast
On white
11.72
#262A8C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#262A8C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262A8C
11.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262A8C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262A8C | 1.00 | 11.72 | 1.79 | 11.72 |
| #FFFFFF | 11.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D8F
Deuteranopia (green-blind)
#00338A
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #262a8c; /* rgb */ color: rgb(38, 42, 140); /* oklch */ color: oklch(35.4% 0.158 273.1);
Tailwind
colors: {
custom: {
50: '#7064af',
500: '#262a8c',
950: '#000000',
},
}SCSS
$custom: #262a8c; $custom-light: #7064af; $custom-dark: #000000;
JSON
{
"hex": "#262a8c",
"rgb": {
"r": 38,
"g": 42,
"b": 140
},
"hsl": {
"h": 237.647,
"s": 57.303,
"l": 34.902
},
"oklch": {
"l": 0.35433,
"c": 0.1583,
"h": 273.1
},
"luminance": 0.03961
}Semantic roles & 50–950 ramp
primary
#262A8C
secondary
#B7B357
accent
#DB47E1
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090510
muted
#7B7A7F