#102281#102281
#102281 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.8% C 0.159 H 266.9°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).
Color values
| HEX | #102281 |
|---|---|
| RGB | rgb(16, 34, 129) |
| HSL | hsl(230, 78%, 28%) |
| HSV | hsv(230, 88%, 51%) |
| CMYK | cmyk(87.6%, 73.6%, 0%, 49.4%) |
| CIE-LAB | lab(19.39, 31.61, -54.66) |
| CIE-LCH | lch(19.39, 63.14, 300.04°) |
| OKLab | oklab(31.78% -0.0085 -0.1585) |
| OKLCH | oklch(31.78% 0.159 266.9) |
| XYZ | xyz(4.7468, 2.8386, 21.0623) |
| Luminance | 0.0284 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.47
Royal
#0C1793
ΔE00 4.09
Dark Royal Blue
#02066F
ΔE00 6.60
Darkblue
#00008B
ΔE00 6.81
Navy
#000080
ΔE00 6.91
Deep Blue
#040273
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#102281 #816F10
analogous
#105A81 #102281 #361081
triadic
#102281 #811022 #228110
tetradic
#102281 #81105A #816F10 #108136
square
#102281 #81105A #816F10 #108136
split-complementary
#102281 #813610 #5A8110
monochromatic
#03071B #09144B #102281 #1730B7 #2745E4
Accessibility & contrast
On white
13.39
#102281 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#102281 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #102281
13.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##102281 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##102281 | 1.00 | 13.39 | 1.57 | 13.39 |
| #FFFFFF | 13.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003484
Deuteranopia (green-blind)
#00297F
Tritanopia (blue-blind)
#003D4F
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #102281; /* rgb */ color: rgb(16, 34, 129); /* oklch */ color: oklch(31.8% 0.159 266.9);
Tailwind
colors: {
custom: {
50: '#675da7',
500: '#102281',
950: '#000000',
},
}SCSS
$custom: #102281; $custom-light: #675da7; $custom-dark: #000000;
JSON
{
"hex": "#102281",
"rgb": {
"r": 16,
"g": 34,
"b": 129
},
"hsl": {
"h": 230.442,
"s": 77.931,
"l": 28.431
},
"oklch": {
"l": 0.31783,
"c": 0.15869,
"h": 266.9
},
"luminance": 0.02839
}Semantic roles & 50–950 ramp
primary
#102281
secondary
#B7A236
accent
#D633F4
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#070410
muted
#7A797F