#283B98#283B98
#283B98 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.8% C 0.153 H 269.3°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).
Color values
| HEX | #283B98 |
|---|---|
| RGB | rgb(40, 59, 152) |
| HSL | hsl(230, 58%, 38%) |
| HSV | hsv(230, 74%, 60%) |
| CMYK | cmyk(73.7%, 61.2%, 0%, 40.4%) |
| CIE-LAB | lab(29.02, 26.03, -53.10) |
| CIE-LCH | lch(29.02, 59.14, 296.11°) |
| OKLab | oklab(39.82% -0.0019 -0.1533) |
| OKLCH | oklch(39.82% 0.153 269.3) |
| XYZ | xyz(8.1046, 5.8452, 30.4008) |
| Luminance | 0.0585 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.02
Blueberry
#464196
ΔE00 4.62
Cobalt
#0047AB
ΔE00 5.46
Darkslateblue
#483D8B
ΔE00 5.85
Cobalt (survey)
#1E488F
ΔE00 5.90
Blue Blue
#2242C7
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#283B98 #988528
analogous
#287398 #283B98 #4D2898
triadic
#283B98 #98283B #3B9828
tetradic
#283B98 #982873 #988528 #28984D
square
#283B98 #982873 #988528 #28984D
split-complementary
#283B98 #984D28 #739828
monochromatic
#0F1537 #1B2868 #283B98 #354EC8 #6478D6
Accessibility & contrast
On white
9.68
#283B98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#283B98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #283B98
9.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##283B98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##283B98 | 1.00 | 9.68 | 2.17 | 9.68 |
| #FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A9B
Deuteranopia (green-blind)
#003F96
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #283b98; /* rgb */ color: rgb(40, 59, 152); /* oklch */ color: oklch(39.8% 0.153 269.3);
Tailwind
colors: {
custom: {
50: '#7270b7',
500: '#283b98',
950: '#000000',
},
}SCSS
$custom: #283b98; $custom-light: #7270b7; $custom-dark: #000000;
JSON
{
"hex": "#283b98",
"rgb": {
"r": 40,
"g": 59,
"b": 152
},
"hsl": {
"h": 229.821,
"s": 58.333,
"l": 37.647
},
"oklch": {
"l": 0.39815,
"c": 0.15328,
"h": 269.3
},
"luminance": 0.05846
}Semantic roles & 50–950 ramp
primary
#283B98
secondary
#BCAC60
accent
#C746E2
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80