#283097#283097
#283097 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.165 H 272.0°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).
Color values
| HEX | #283097 |
|---|---|
| RGB | rgb(40, 48, 151) |
| HSL | hsl(236, 58%, 37%) |
| HSV | hsv(236, 74%, 59%) |
| CMYK | cmyk(73.5%, 68.2%, 0%, 40.8%) |
| CIE-LAB | lab(26.15, 32.92, -57.18) |
| CIE-LCH | lch(26.15, 65.98, 299.93°) |
| OKLab | oklab(37.68% 0.0059 -0.1653) |
| OKLCH | oklch(37.68% 0.165 272) |
| XYZ | xyz(7.5161, 4.7986, 29.8023) |
| Luminance | 0.0480 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.52
Blueberry
#464196
ΔE00 5.92
Royal
#0C1793
ΔE00 6.16
Darkslateblue
#483D8B
ΔE00 6.28
Indigo Blue
#3A18B1
ΔE00 6.98
Ocean Blue
#4F42B5
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#283097 #978F28
analogous
#286797 #283097 #582897
triadic
#283097 #972830 #309728
tetradic
#283097 #972867 #978F28 #289758
square
#283097 #972867 #978F28 #289758
split-complementary
#283097 #975828 #679728
monochromatic
#0E1136 #1B2167 #283097 #353FC7 #646CD6
Accessibility & contrast
On white
10.72
#283097 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#283097 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #283097
10.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##283097 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##283097 | 1.00 | 10.72 | 1.96 | 10.72 |
| #FFFFFF | 10.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#003995
Tritanopia (blue-blind)
#004C5F
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #283097; /* rgb */ color: rgb(40, 48, 151); /* oklch */ color: oklch(37.7% 0.165 272.0);
Tailwind
colors: {
custom: {
50: '#7368b7',
500: '#283097',
950: '#000000',
},
}SCSS
$custom: #283097; $custom-light: #7368b7; $custom-dark: #000000;
JSON
{
"hex": "#283097",
"rgb": {
"r": 40,
"g": 48,
"b": 151
},
"hsl": {
"h": 235.676,
"s": 58.115,
"l": 37.451
},
"oklch": {
"l": 0.37682,
"c": 0.16541,
"h": 272
},
"luminance": 0.04799
}Semantic roles & 50–950 ramp
primary
#283097
secondary
#BCB55F
accent
#D646E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80