#283F86#283F86
#283F86 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.1% C 0.122 H 267.1°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #283F86 |
|---|---|
| RGB | rgb(40, 63, 134) |
| HSL | hsl(225, 54%, 34%) |
| HSV | hsv(225, 70%, 53%) |
| CMYK | cmyk(70.1%, 53%, 0%, 47.5%) |
| CIE-LAB | lab(28.71, 16.40, -42.52) |
| CIE-LCH | lch(28.71, 45.57, 291.09°) |
| OKLab | oklab(39.14% -0.0062 -0.1221) |
| OKLCH | oklch(39.14% 0.122 267.1) |
| XYZ | xyz(6.9542, 5.7267, 23.2885) |
| Luminance | 0.0573 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.93
Darkish Blue
#014182
ΔE00 4.55
Twilight Blue
#0A437A
ΔE00 5.45
Blueberry
#464196
ΔE00 5.88
Cobalt
#0047AB
ΔE00 5.91
Marine Blue
#01386A
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#283F86 #866F28
analogous
#286E86 #283F86 #402886
triadic
#283F86 #86283F #3F8628
tetradic
#283F86 #86286E #866F28 #288640
square
#283F86 #86286E #866F28 #288640
split-complementary
#283F86 #864028 #6E8628
monochromatic
#0C1328 #1A2957 #283F86 #3655B5 #5B77CE
Accessibility & contrast
On white
9.79
#283F86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#283F86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #283F86
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##283F86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##283F86 | 1.00 | 9.79 | 2.15 | 9.79 |
| #FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#134889
Deuteranopia (green-blind)
#004085
Tritanopia (blue-blind)
#00505C
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #283f86; /* rgb */ color: rgb(40, 63, 134); /* oklch */ color: oklch(39.1% 0.122 267.1);
Tailwind
colors: {
custom: {
50: '#6e73aa',
500: '#283f86',
950: '#000000',
},
}SCSS
$custom: #283f86; $custom-light: #6e73aa; $custom-dark: #000000;
JSON
{
"hex": "#283f86",
"rgb": {
"r": 40,
"g": 63,
"b": 134
},
"hsl": {
"h": 225.319,
"s": 54.023,
"l": 34.118
},
"oklch": {
"l": 0.39141,
"c": 0.12226,
"h": 267.1
},
"luminance": 0.05727
}Semantic roles & 50–950 ramp
primary
#283F86
secondary
#B39C57
accent
#B94ADD
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F