#262A8F#262A8F
#262A8F is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.7% C 0.162 H 272.9°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).
Color values
| HEX | #262A8F |
|---|---|
| RGB | rgb(38, 42, 143) |
| HSL | hsl(238, 58%, 35%) |
| HSV | hsv(238, 73%, 56%) |
| CMYK | cmyk(73.4%, 70.6%, 0%, 43.9%) |
| CIE-LAB | lab(23.84, 33.63, -56.05) |
| CIE-LCH | lch(23.84, 65.37, 300.96°) |
| OKLab | oklab(35.74% 0.0083 -0.1621) |
| OKLCH | oklch(35.74% 0.162 272.9) |
| XYZ | xyz(6.5836, 4.0505, 26.4161) |
| Luminance | 0.0405 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.71
Sapphire (survey)
#2138AB
ΔE00 5.35
Midnight Blue
#191970
ΔE00 6.02
Indigo Blue
#3A18B1
ΔE00 6.78
Cobalt Blue
#030AA7
ΔE00 6.92
Darkslateblue
#483D8B
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262A8F #8F8B26
analogous
#265E8F #262A8F #56268F
triadic
#262A8F #8F262A #2A8F26
tetradic
#262A8F #8F265E #8F8B26 #268F56
square
#262A8F #8F265E #8F8B26 #268F56
split-complementary
#262A8F #8F5626 #5E8F26
monochromatic
#0C0E2E #191C5F #262A8F #3338BF #5C60D4
Accessibility & contrast
On white
11.60
#262A8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#262A8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262A8F
11.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262A8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262A8F | 1.00 | 11.60 | 1.81 | 11.60 |
| #FFFFFF | 11.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00348D
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #262a8f; /* rgb */ color: rgb(38, 42, 143); /* oklch */ color: oklch(35.7% 0.162 272.9);
Tailwind
colors: {
custom: {
50: '#7164b1',
500: '#262a8f',
950: '#000000',
},
}SCSS
$custom: #262a8f; $custom-light: #7164b1; $custom-dark: #000000;
JSON
{
"hex": "#262a8f",
"rgb": {
"r": 38,
"g": 42,
"b": 143
},
"hsl": {
"h": 237.714,
"s": 58.011,
"l": 35.49
},
"oklch": {
"l": 0.35737,
"c": 0.16229,
"h": 272.9
},
"luminance": 0.04051
}Semantic roles & 50–950 ramp
primary
#262A8F
secondary
#B9B558
accent
#DB47E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80