#282BA7#282BA7
#282BA7 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.5% C 0.191 H 271.9°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).
Color values
| HEX | #282BA7 |
|---|---|
| RGB | rgb(40, 43, 167) |
| HSL | hsl(239, 61%, 41%) |
| HSV | hsv(239, 76%, 65%) |
| CMYK | cmyk(76%, 74.3%, 0%, 34.5%) |
| CIE-LAB | lab(26.64, 41.63, -66.11) |
| CIE-LCH | lch(26.64, 78.12, 302.20°) |
| OKLab | oklab(38.52% 0.0065 -0.1913) |
| OKLCH | oklch(38.52% 0.191 271.9) |
| XYZ | xyz(8.7116, 4.9680, 37.0515) |
| Luminance | 0.0497 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.79
Indigo Blue
#3A18B1
ΔE00 4.47
Royal
#0C1793
ΔE00 5.45
True Blue
#010FCC
ΔE00 6.01
Cobalt Blue
#030AA7
ΔE00 6.03
Ultramarine
#2000B1
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282BA7 #A7A428
analogous
#286AA7 #282BA7 #6528A7
triadic
#282BA7 #A7282B #2BA728
tetradic
#282BA7 #A7286A #A7A428 #28A765
square
#282BA7 #A7286A #A7A428 #28A765
split-complementary
#282BA7 #A76528 #6AA728
monochromatic
#101244 #1C1E76 #282BA7 #3C3FD0 #6D70DC
Accessibility & contrast
On white
10.53
#282BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#282BA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282BA7
10.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282BA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282BA7 | 1.00 | 10.53 | 1.99 | 10.53 |
| #FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045AB
Deuteranopia (green-blind)
#0039A5
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #282ba7; /* rgb */ color: rgb(40, 43, 167); /* oklch */ color: oklch(38.5% 0.191 271.9);
Tailwind
colors: {
custom: {
50: '#7766c2',
500: '#282ba7',
950: '#000000',
},
}SCSS
$custom: #282ba7; $custom-light: #7766c2; $custom-dark: #000000;
JSON
{
"hex": "#282ba7",
"rgb": {
"r": 40,
"g": 43,
"b": 167
},
"hsl": {
"h": 238.583,
"s": 61.353,
"l": 40.588
},
"oklch": {
"l": 0.38519,
"c": 0.19146,
"h": 271.9
},
"luminance": 0.04969
}Semantic roles & 50–950 ramp
primary
#282BA7
secondary
#C3C168
accent
#E143E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82