#283F96#283F96
#283F96 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.145 H 268.0°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).
Color values
| HEX | #283F96 |
|---|---|
| RGB | rgb(40, 63, 150) |
| HSL | hsl(227, 58%, 37%) |
| HSV | hsv(227, 73%, 59%) |
| CMYK | cmyk(73.3%, 58%, 0%, 41.2%) |
| CIE-LAB | lab(29.93, 22.56, -50.40) |
| CIE-LCH | lch(29.93, 55.22, 294.12°) |
| OKLab | oklab(40.44% -0.0051 -0.1453) |
| OKLCH | oklch(40.44% 0.145 268) |
| XYZ | xyz(8.1557, 6.2073, 29.6166) |
| Luminance | 0.0621 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.08
Cobalt (survey)
#1E488F
ΔE00 4.48
Cobalt
#0047AB
ΔE00 4.53
Blueberry
#464196
ΔE00 4.82
Darkish Blue
#014182
ΔE00 5.82
Darkslateblue
#483D8B
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#283F96 #967F28
analogous
#287696 #283F96 #482896
triadic
#283F96 #96283F #3F9628
tetradic
#283F96 #962876 #967F28 #289648
square
#283F96 #962876 #967F28 #289648
split-complementary
#283F96 #964828 #769628
monochromatic
#0E1635 #1B2B66 #283F96 #3553C6 #637BD5
Accessibility & contrast
On white
9.37
#283F96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#283F96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #283F96
9.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##283F96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##283F96 | 1.00 | 9.37 | 2.24 | 9.37 |
| #FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#004294
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #283f96; /* rgb */ color: rgb(40, 63, 150); /* oklch */ color: oklch(40.4% 0.145 268.0);
Tailwind
colors: {
custom: {
50: '#7273b6',
500: '#283f96',
950: '#000000',
},
}SCSS
$custom: #283f96; $custom-light: #7273b6; $custom-dark: #000000;
JSON
{
"hex": "#283f96",
"rgb": {
"r": 40,
"g": 63,
"b": 150
},
"hsl": {
"h": 227.455,
"s": 57.895,
"l": 37.255
},
"oklch": {
"l": 0.40444,
"c": 0.14536,
"h": 268
},
"luminance": 0.06208
}Semantic roles & 50–950 ramp
primary
#283F96
secondary
#BBA85F
accent
#C147E1
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80