#283F82#283F82
#283F82 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.8% C 0.116 H 266.7°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #283F82 |
|---|---|
| RGB | rgb(40, 63, 130) |
| HSL | hsl(225, 53%, 33%) |
| HSV | hsv(225, 69%, 51%) |
| CMYK | cmyk(69.2%, 51.5%, 0%, 49%) |
| CIE-LAB | lab(28.43, 14.86, -40.49) |
| CIE-LCH | lch(28.43, 43.13, 290.15°) |
| OKLab | oklab(38.83% -0.0067 -0.1161) |
| OKLCH | oklch(38.83% 0.116 266.7) |
| XYZ | xyz(6.6804, 5.6172, 21.8469) |
| Luminance | 0.0562 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.02
Darkish Blue
#014182
ΔE00 4.38
Twilight Blue
#0A437A
ΔE00 5.18
Marine Blue
#01386A
ΔE00 5.77
Blueberry
#464196
ΔE00 6.30
Cobalt
#0047AB
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#283F82 #826B28
analogous
#286C82 #283F82 #3E2882
triadic
#283F82 #82283F #3F8228
tetradic
#283F82 #82286C #826B28 #28823E
square
#283F82 #82286C #826B28 #28823E
split-complementary
#283F82 #823E28 #6C8228
monochromatic
#0B1224 #1A2853 #283F82 #3656B1 #5976CC
Accessibility & contrast
On white
9.89
#283F82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#283F82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #283F82
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##283F82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##283F82 | 1.00 | 9.89 | 2.12 | 9.89 |
| #FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#194784
Deuteranopia (green-blind)
#003F81
Tritanopia (blue-blind)
#004F5A
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #283f82; /* rgb */ color: rgb(40, 63, 130); /* oklch */ color: oklch(38.8% 0.116 266.7);
Tailwind
colors: {
custom: {
50: '#6d73a7',
500: '#283f82',
950: '#000000',
},
}SCSS
$custom: #283f82; $custom-light: #6d73a7; $custom-dark: #000000;
JSON
{
"hex": "#283f82",
"rgb": {
"r": 40,
"g": 63,
"b": 130
},
"hsl": {
"h": 224.667,
"s": 52.941,
"l": 33.333
},
"oklch": {
"l": 0.38832,
"c": 0.11633,
"h": 266.7
},
"luminance": 0.05618
}Semantic roles & 50–950 ramp
primary
#283F82
secondary
#B19955
accent
#B74BDC
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#08080F
muted
#7B7B7F