#283F9C#283F9C
#283F9C is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.0% C 0.154 H 268.2°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).
Color values
| HEX | #283F9C |
|---|---|
| RGB | rgb(40, 63, 156) |
| HSL | hsl(228, 59%, 38%) |
| HSV | hsv(228, 74%, 61%) |
| CMYK | cmyk(74.4%, 59.6%, 0%, 38.8%) |
| CIE-LAB | lab(30.41, 24.86, -53.26) |
| CIE-LCH | lch(30.41, 58.78, 295.02°) |
| OKLab | oklab(40.96% -0.0049 -0.1537) |
| OKLCH | oklch(40.96% 0.154 268.2) |
| XYZ | xyz(8.6513, 6.4055, 32.2265) |
| Luminance | 0.0641 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.29
Cobalt
#0047AB
ΔE00 4.26
Blueberry
#464196
ΔE00 4.74
Cobalt (survey)
#1E488F
ΔE00 4.95
Blue Blue
#2242C7
ΔE00 5.90
Darkslateblue
#483D8B
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#283F9C #9C8528
analogous
#28799C #283F9C #4B289C
triadic
#283F9C #9C283F #3F9C28
tetradic
#283F9C #9C2879 #9C8528 #289C4B
square
#283F9C #9C2879 #9C8528 #289C4B
split-complementary
#283F9C #9C4B28 #799C28
monochromatic
#0F183B #1C2B6B #283F9C #3653CB #677DD8
Accessibility & contrast
On white
9.21
#283F9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#283F9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #283F9C
9.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##283F9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##283F9C | 1.00 | 9.21 | 2.28 | 9.21 |
| #FFFFFF | 9.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9F
Deuteranopia (green-blind)
#00429A
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #283f9c; /* rgb */ color: rgb(40, 63, 156); /* oklch */ color: oklch(41.0% 0.154 268.2);
Tailwind
colors: {
custom: {
50: '#7373ba',
500: '#283f9c',
950: '#000000',
},
}SCSS
$custom: #283f9c; $custom-light: #7373ba; $custom-dark: #000000;
JSON
{
"hex": "#283f9c",
"rgb": {
"r": 40,
"g": 63,
"b": 156
},
"hsl": {
"h": 228.103,
"s": 59.184,
"l": 38.431
},
"oklch": {
"l": 0.40957,
"c": 0.15377,
"h": 268.2
},
"luminance": 0.06406
}Semantic roles & 50–950 ramp
primary
#283F9C
secondary
#BEAC62
accent
#C345E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81