#283F99#283F99
#283F99 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.7% C 0.150 H 268.1°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).
Color values
| HEX | #283F99 |
|---|---|
| RGB | rgb(40, 63, 153) |
| HSL | hsl(228, 59%, 38%) |
| HSV | hsv(228, 74%, 60%) |
| CMYK | cmyk(73.9%, 58.8%, 0%, 40%) |
| CIE-LAB | lab(30.17, 23.71, -51.83) |
| CIE-LCH | lch(30.17, 57.00, 294.58°) |
| OKLab | oklab(40.7% -0.005 -0.1495) |
| OKLCH | oklch(40.7% 0.15 268.1) |
| XYZ | xyz(8.4004, 6.3052, 30.9051) |
| Luminance | 0.0631 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.67
Cobalt
#0047AB
ΔE00 4.37
Cobalt (survey)
#1E488F
ΔE00 4.70
Blueberry
#464196
ΔE00 4.76
Darkish Blue
#014182
ΔE00 6.12
Darkslateblue
#483D8B
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#283F99 #998228
analogous
#287799 #283F99 #4A2899
triadic
#283F99 #99283F #3F9928
tetradic
#283F99 #992877 #998228 #28994A
square
#283F99 #992877 #998228 #28994A
split-complementary
#283F99 #994A28 #779928
monochromatic
#0F1738 #1B2B68 #283F99 #3553CA #657CD7
Accessibility & contrast
On white
9.29
#283F99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#283F99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #283F99
9.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##283F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##283F99 | 1.00 | 9.29 | 2.26 | 9.29 |
| #FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9C
Deuteranopia (green-blind)
#004297
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #283f99; /* rgb */ color: rgb(40, 63, 153); /* oklch */ color: oklch(40.7% 0.150 268.1);
Tailwind
colors: {
custom: {
50: '#7273b8',
500: '#283f99',
950: '#000000',
},
}SCSS
$custom: #283f99; $custom-light: #7273b8; $custom-dark: #000000;
JSON
{
"hex": "#283f99",
"rgb": {
"r": 40,
"g": 63,
"b": 153
},
"hsl": {
"h": 227.788,
"s": 58.549,
"l": 37.843
},
"oklch": {
"l": 0.40699,
"c": 0.14958,
"h": 268.1
},
"luminance": 0.06306
}Semantic roles & 50–950 ramp
primary
#283F99
secondary
#BDAA60
accent
#C246E2
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80