#283F9A#283F9A
#283F9A is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.8% C 0.151 H 268.1°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #283F9A |
|---|---|
| RGB | rgb(40, 63, 154) |
| HSL | hsl(228, 59%, 38%) |
| HSV | hsv(228, 74%, 60%) |
| CMYK | cmyk(74%, 59.1%, 0%, 39.6%) |
| CIE-LAB | lab(30.25, 24.09, -52.31) |
| CIE-LCH | lch(30.25, 57.59, 294.73°) |
| OKLab | oklab(40.78% -0.0049 -0.1509) |
| OKLCH | oklch(40.78% 0.151 268.1) |
| XYZ | xyz(8.4833, 6.3383, 31.3419) |
| Luminance | 0.0634 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.54
Cobalt
#0047AB
ΔE00 4.33
Blueberry
#464196
ΔE00 4.75
Cobalt (survey)
#1E488F
ΔE00 4.78
Blue Blue
#2242C7
ΔE00 6.19
Darkish Blue
#014182
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#283F9A #9A8328
analogous
#28789A #283F9A #4A289A
triadic
#283F9A #9A283F #3F9A28
tetradic
#283F9A #9A2878 #9A8328 #289A4A
square
#283F9A #9A2878 #9A8328 #289A4A
split-complementary
#283F9A #9A4A28 #789A28
monochromatic
#0F1739 #1B2B69 #283F9A #3553CA #657CD7
Accessibility & contrast
On white
9.26
#283F9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#283F9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #283F9A
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##283F9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##283F9A | 1.00 | 9.26 | 2.27 | 9.26 |
| #FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9D
Deuteranopia (green-blind)
#004298
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #283f9a; /* rgb */ color: rgb(40, 63, 154); /* oklch */ color: oklch(40.8% 0.151 268.1);
Tailwind
colors: {
custom: {
50: '#7373b9',
500: '#283f9a',
950: '#000000',
},
}SCSS
$custom: #283f9a; $custom-light: #7373b9; $custom-dark: #000000;
JSON
{
"hex": "#283f9a",
"rgb": {
"r": 40,
"g": 63,
"b": 154
},
"hsl": {
"h": 227.895,
"s": 58.763,
"l": 38.039
},
"oklch": {
"l": 0.40785,
"c": 0.15098,
"h": 268.1
},
"luminance": 0.06339
}Semantic roles & 50–950 ramp
primary
#283F9A
secondary
#BDAA61
accent
#C246E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80