#262187#262187
#262187 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.5% C 0.162 H 275.3°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).
Color values
| HEX | #262187 |
|---|---|
| RGB | rgb(38, 33, 135) |
| HSL | hsl(243, 61%, 33%) |
| HSV | hsv(243, 76%, 53%) |
| CMYK | cmyk(71.9%, 75.6%, 0%, 47.1%) |
| CIE-LAB | lab(21.01, 36.34, -55.71) |
| CIE-LCH | lch(21.01, 66.52, 303.12°) |
| OKLab | oklab(33.47% 0.015 -0.1611) |
| OKLCH | oklch(33.47% 0.162 275.3) |
| XYZ | xyz(5.7149, 3.2485, 23.2428) |
| Luminance | 0.0325 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.21
Midnight Blue
#191970
ΔE00 4.00
Cobalt Blue
#030AA7
ΔE00 5.90
Indigo (survey)
#380282
ΔE00 5.99
Darkblue
#00008B
ΔE00 6.08
Navy
#000080
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262187 #828721
analogous
#214F87 #262187 #592187
triadic
#262187 #872621 #218726
tetradic
#262187 #87214F #828721 #218759
square
#262187 #87214F #828721 #218759
split-complementary
#262187 #875921 #4F8721
monochromatic
#0A0925 #181556 #262187 #342DB8 #554FD4
Accessibility & contrast
On white
12.73
#262187 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#262187 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262187
12.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262187 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262187 | 1.00 | 12.73 | 1.65 | 12.73 |
| #FFFFFF | 12.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00378A
Deuteranopia (green-blind)
#002E85
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #262187; /* rgb */ color: rgb(38, 33, 135); /* oklch */ color: oklch(33.5% 0.162 275.3);
Tailwind
colors: {
custom: {
50: '#705eab',
500: '#262187',
950: '#000000',
},
}SCSS
$custom: #262187; $custom-light: #705eab; $custom-dark: #000000;
JSON
{
"hex": "#262187",
"rgb": {
"r": 38,
"g": 33,
"b": 135
},
"hsl": {
"h": 242.941,
"s": 60.714,
"l": 32.941
},
"oklch": {
"l": 0.33466,
"c": 0.16177,
"h": 275.3
},
"luminance": 0.03249
}Semantic roles & 50–950 ramp
primary
#262187
secondary
#B2B74D
accent
#E444DC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F