#283F88#283F88
#283F88 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.3% C 0.125 H 267.2°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).
Color values
| HEX | #283F88 |
|---|---|
| RGB | rgb(40, 63, 136) |
| HSL | hsl(226, 55%, 35%) |
| HSV | hsv(226, 71%, 53%) |
| CMYK | cmyk(70.6%, 53.7%, 0%, 46.7%) |
| CIE-LAB | lab(28.86, 17.17, -43.52) |
| CIE-LCH | lch(28.86, 46.79, 291.53°) |
| OKLab | oklab(39.3% -0.006 -0.125) |
| OKLCH | oklch(39.3% 0.125 267.2) |
| XYZ | xyz(7.0950, 5.7830, 24.0301) |
| Luminance | 0.0578 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.92
Darkish Blue
#014182
ΔE00 4.66
Twilight Blue
#0A437A
ΔE00 5.60
Blueberry
#464196
ΔE00 5.69
Cobalt
#0047AB
ΔE00 5.70
Sapphire (survey)
#2138AB
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#283F88 #887128
analogous
#286F88 #283F88 #412888
triadic
#283F88 #88283F #3F8828
tetradic
#283F88 #88286F #887128 #288841
square
#283F88 #88286F #887128 #288841
split-complementary
#283F88 #884128 #6F8828
monochromatic
#0C1329 #1A2959 #283F88 #3655B7 #5B77CF
Accessibility & contrast
On white
9.74
#283F88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#283F88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #283F88
9.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##283F88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##283F88 | 1.00 | 9.74 | 2.16 | 9.74 |
| #FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#10498B
Deuteranopia (green-blind)
#004087
Tritanopia (blue-blind)
#00505D
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #283f88; /* rgb */ color: rgb(40, 63, 136); /* oklch */ color: oklch(39.3% 0.125 267.2);
Tailwind
colors: {
custom: {
50: '#6e73ab',
500: '#283f88',
950: '#000000',
},
}SCSS
$custom: #283f88; $custom-light: #6e73ab; $custom-dark: #000000;
JSON
{
"hex": "#283f88",
"rgb": {
"r": 40,
"g": 63,
"b": 136
},
"hsl": {
"h": 225.625,
"s": 54.545,
"l": 34.51
},
"oklch": {
"l": 0.39298,
"c": 0.1252,
"h": 267.2
},
"luminance": 0.05784
}Semantic roles & 50–950 ramp
primary
#283F88
secondary
#B49E58
accent
#BA4ADE
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F