#283497#283497
#283497 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.161 H 271.1°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).
Color values
| HEX | #283497 |
|---|---|
| RGB | rgb(40, 52, 151) |
| HSL | hsl(234, 58%, 37%) |
| HSV | hsv(234, 74%, 59%) |
| CMYK | cmyk(73.5%, 65.6%, 0%, 40.8%) |
| CIE-LAB | lab(27.13, 30.31, -55.57) |
| CIE-LCH | lch(27.13, 63.30, 298.61°) |
| OKLab | oklab(38.4% 0.0032 -0.1606) |
| OKLCH | oklch(38.4% 0.161 271.1) |
| XYZ | xyz(7.6871, 5.1407, 29.8593) |
| Luminance | 0.0514 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.98
Blueberry
#464196
ΔE00 5.23
Darkslateblue
#483D8B
ΔE00 5.88
Royal
#0C1793
ΔE00 7.32
Ocean Blue
#4F42B5
ΔE00 7.41
Blue Blue
#2242C7
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#283497 #978B28
analogous
#286B97 #283497 #542897
triadic
#283497 #972834 #349728
tetradic
#283497 #97286B #978B28 #289754
square
#283497 #97286B #978B28 #289754
split-complementary
#283497 #975428 #6B9728
monochromatic
#0E1336 #1B2367 #283497 #3545C7 #6470D6
Accessibility & contrast
On white
10.35
#283497 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#283497 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #283497
10.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##283497 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##283497 | 1.00 | 10.35 | 2.03 | 10.35 |
| #FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459A
Deuteranopia (green-blind)
#003B95
Tritanopia (blue-blind)
#004E60
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #283497; /* rgb */ color: rgb(40, 52, 151); /* oklch */ color: oklch(38.4% 0.161 271.1);
Tailwind
colors: {
custom: {
50: '#736bb7',
500: '#283497',
950: '#000000',
},
}SCSS
$custom: #283497; $custom-light: #736bb7; $custom-dark: #000000;
JSON
{
"hex": "#283497",
"rgb": {
"r": 40,
"g": 52,
"b": 151
},
"hsl": {
"h": 233.514,
"s": 58.115,
"l": 37.451
},
"oklch": {
"l": 0.38396,
"c": 0.16062,
"h": 271.1
},
"luminance": 0.05141
}Semantic roles & 50–950 ramp
primary
#283497
secondary
#BCB25F
accent
#D146E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80