#283C98#283C98
#283C98 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.0% C 0.152 H 269.0°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).
Color values
| HEX | #283C98 |
|---|---|
| RGB | rgb(40, 60, 152) |
| HSL | hsl(229, 58%, 38%) |
| HSV | hsv(229, 74%, 60%) |
| CMYK | cmyk(73.7%, 60.5%, 0%, 40.4%) |
| CIE-LAB | lab(29.28, 25.36, -52.67) |
| CIE-LCH | lch(29.28, 58.45, 295.71°) |
| OKLab | oklab(40.01% -0.0027 -0.152) |
| OKLCH | oklch(40.01% 0.152 269) |
| XYZ | xyz(8.1565, 5.9490, 30.4181) |
| Luminance | 0.0595 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.18
Blueberry
#464196
ΔE00 4.62
Cobalt
#0047AB
ΔE00 5.19
Cobalt (survey)
#1E488F
ΔE00 5.58
Darkslateblue
#483D8B
ΔE00 5.92
Blue Blue
#2242C7
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#283C98 #988428
analogous
#287498 #283C98 #4C2898
triadic
#283C98 #98283C #3C9828
tetradic
#283C98 #982874 #988428 #28984C
square
#283C98 #982874 #988428 #28984C
split-complementary
#283C98 #984C28 #749828
monochromatic
#0F1637 #1B2968 #283C98 #354FC8 #6479D6
Accessibility & contrast
On white
9.59
#283C98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#283C98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #283C98
9.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##283C98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##283C98 | 1.00 | 9.59 | 2.19 | 9.59 |
| #FFFFFF | 9.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A9B
Deuteranopia (green-blind)
#004096
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #283c98; /* rgb */ color: rgb(40, 60, 152); /* oklch */ color: oklch(40.0% 0.152 269.0);
Tailwind
colors: {
custom: {
50: '#7271b7',
500: '#283c98',
950: '#000000',
},
}SCSS
$custom: #283c98; $custom-light: #7271b7; $custom-dark: #000000;
JSON
{
"hex": "#283c98",
"rgb": {
"r": 40,
"g": 60,
"b": 152
},
"hsl": {
"h": 229.286,
"s": 58.333,
"l": 37.647
},
"oklch": {
"l": 0.40012,
"c": 0.15201,
"h": 269
},
"luminance": 0.0595
}Semantic roles & 50–950 ramp
primary
#283C98
secondary
#BCAC60
accent
#C646E2
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80