#283CA7#283CA7
#283CA7 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.4% C 0.172 H 269.0°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).
Color values
| HEX | #283CA7 |
|---|---|
| RGB | rgb(40, 60, 167) |
| HSL | hsl(231, 61%, 41%) |
| HSV | hsv(231, 76%, 65%) |
| CMYK | cmyk(76%, 64.1%, 0%, 34.5%) |
| CIE-LAB | lab(30.57, 31.00, -59.65) |
| CIE-LCH | lch(30.57, 67.22, 297.46°) |
| OKLab | oklab(41.37% -0.0029 -0.1725) |
| OKLCH | oklch(41.37% 0.172 269) |
| XYZ | xyz(9.4636, 6.4718, 37.3022) |
| Luminance | 0.0647 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.35
Blue Blue
#2242C7
ΔE00 4.50
Blueberry
#464196
ΔE00 5.03
Cobalt
#0047AB
ΔE00 5.06
Ocean Blue
#4F42B5
ΔE00 5.69
Darkslateblue
#483D8B
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#283CA7 #A79328
analogous
#287BA7 #283CA7 #5328A7
triadic
#283CA7 #A7283C #3CA728
tetradic
#283CA7 #A7287B #A79328 #28A753
square
#283CA7 #A7287B #A79328 #28A753
split-complementary
#283CA7 #A75328 #7BA728
monochromatic
#101944 #1C2A76 #283CA7 #3C53D0 #6D7FDC
Accessibility & contrast
On white
9.15
#283CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#283CA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #283CA7
9.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##283CA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##283CA7 | 1.00 | 9.15 | 2.29 | 9.15 |
| #FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EAA
Deuteranopia (green-blind)
#0042A5
Tritanopia (blue-blind)
#00586C
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #283ca7; /* rgb */ color: rgb(40, 60, 167); /* oklch */ color: oklch(41.4% 0.172 269.0);
Tailwind
colors: {
custom: {
50: '#7671c2',
500: '#283ca7',
950: '#000000',
},
}SCSS
$custom: #283ca7; $custom-light: #7671c2; $custom-dark: #000000;
JSON
{
"hex": "#283ca7",
"rgb": {
"r": 40,
"g": 60,
"b": 167
},
"hsl": {
"h": 230.551,
"s": 61.353,
"l": 40.588
},
"oklch": {
"l": 0.41366,
"c": 0.17248,
"h": 269
},
"luminance": 0.06473
}Semantic roles & 50–950 ramp
primary
#283CA7
secondary
#C3B468
accent
#CB43E4
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81