#283F97#283F97
#283F97 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.147 H 268.0°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).
Color values
| HEX | #283F97 |
|---|---|
| RGB | rgb(40, 63, 151) |
| HSL | hsl(228, 58%, 37%) |
| HSV | hsv(228, 74%, 59%) |
| CMYK | cmyk(73.5%, 58.3%, 0%, 40.8%) |
| CIE-LAB | lab(30.01, 22.95, -50.88) |
| CIE-LCH | lch(30.01, 55.81, 294.28°) |
| OKLab | oklab(40.53% -0.005 -0.1467) |
| OKLCH | oklch(40.53% 0.147 268) |
| XYZ | xyz(8.2366, 6.2396, 30.0424) |
| Luminance | 0.0624 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.94
Cobalt
#0047AB
ΔE00 4.47
Cobalt (survey)
#1E488F
ΔE00 4.55
Blueberry
#464196
ΔE00 4.80
Darkish Blue
#014182
ΔE00 5.92
Darkslateblue
#483D8B
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#283F97 #978028
analogous
#287697 #283F97 #492897
triadic
#283F97 #97283F #3F9728
tetradic
#283F97 #972876 #978028 #289749
square
#283F97 #972876 #978028 #289749
split-complementary
#283F97 #974928 #769728
monochromatic
#0E1736 #1B2B67 #283F97 #3553C7 #647BD6
Accessibility & contrast
On white
9.34
#283F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#283F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #283F97
9.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##283F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##283F97 | 1.00 | 9.34 | 2.25 | 9.34 |
| #FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#004295
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #283f97; /* rgb */ color: rgb(40, 63, 151); /* oklch */ color: oklch(40.5% 0.147 268.0);
Tailwind
colors: {
custom: {
50: '#7273b6',
500: '#283f97',
950: '#000000',
},
}SCSS
$custom: #283f97; $custom-light: #7273b6; $custom-dark: #000000;
JSON
{
"hex": "#283f97",
"rgb": {
"r": 40,
"g": 63,
"b": 151
},
"hsl": {
"h": 227.568,
"s": 58.115,
"l": 37.451
},
"oklch": {
"l": 0.40528,
"c": 0.14678,
"h": 268
},
"luminance": 0.0624
}Semantic roles & 50–950 ramp
primary
#283F97
secondary
#BCA85F
accent
#C146E1
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80