#283F94#283F94
#283F94 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.143 H 267.9°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #283F94 |
|---|---|
| RGB | rgb(40, 63, 148) |
| HSL | hsl(227, 57%, 37%) |
| HSV | hsv(227, 73%, 58%) |
| CMYK | cmyk(73%, 57.4%, 0%, 42%) |
| CIE-LAB | lab(29.77, 21.80, -49.43) |
| CIE-LCH | lch(29.77, 54.02, 293.79°) |
| OKLab | oklab(40.28% -0.0052 -0.1424) |
| OKLCH | oklch(40.28% 0.143 267.9) |
| XYZ | xyz(7.9960, 6.1434, 28.7756) |
| Luminance | 0.0614 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.34
Sapphire (survey)
#2138AB
ΔE00 4.36
Cobalt
#0047AB
ΔE00 4.65
Blueberry
#464196
ΔE00 4.89
Darkish Blue
#014182
ΔE00 5.62
Darkslateblue
#483D8B
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#283F94 #947D28
analogous
#287594 #283F94 #472894
triadic
#283F94 #94283F #3F9428
tetradic
#283F94 #942875 #947D28 #289447
square
#283F94 #942875 #947D28 #289447
split-complementary
#283F94 #944728 #759428
monochromatic
#0E1634 #1B2A64 #283F94 #3554C4 #627AD5
Accessibility & contrast
On white
9.42
#283F94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#283F94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #283F94
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##283F94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##283F94 | 1.00 | 9.42 | 2.23 | 9.42 |
| #FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B97
Deuteranopia (green-blind)
#004192
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #283f94; /* rgb */ color: rgb(40, 63, 148); /* oklch */ color: oklch(40.3% 0.143 267.9);
Tailwind
colors: {
custom: {
50: '#7173b4',
500: '#283f94',
950: '#000000',
},
}SCSS
$custom: #283f94; $custom-light: #7173b4; $custom-dark: #000000;
JSON
{
"hex": "#283f94",
"rgb": {
"r": 40,
"g": 63,
"b": 148
},
"hsl": {
"h": 227.222,
"s": 57.447,
"l": 36.863
},
"oklch": {
"l": 0.40276,
"c": 0.14253,
"h": 267.9
},
"luminance": 0.06144
}Semantic roles & 50–950 ramp
primary
#283F94
secondary
#BAA65E
accent
#C047E1
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80