#283DAF#283DAF
#283DAF is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.3% C 0.182 H 268.8°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #283DAF |
|---|---|
| RGB | rgb(40, 61, 175) |
| HSL | hsl(231, 63%, 42%) |
| HSV | hsv(231, 77%, 69%) |
| CMYK | cmyk(77.1%, 65.1%, 0%, 31.4%) |
| CIE-LAB | lab(31.54, 33.31, -62.85) |
| CIE-LCH | lch(31.54, 71.14, 297.92°) |
| OKLab | oklab(42.3% -0.0038 -0.1818) |
| OKLCH | oklch(42.3% 0.182 268.8) |
| XYZ | xyz(10.2790, 6.8826, 41.3359) |
| Luminance | 0.0688 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.53
Blue Blue
#2242C7
ΔE00 3.40
Cobalt
#0047AB
ΔE00 5.06
Ocean Blue
#4F42B5
ΔE00 5.15
Blueberry
#464196
ΔE00 5.53
Blue (survey)
#0343DF
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#283DAF #AF9A28
analogous
#2880AF #283DAF #5728AF
triadic
#283DAF #AF283D #3DAF28
tetradic
#283DAF #AF2880 #AF9A28 #28AF57
square
#283DAF #AF2880 #AF9A28 #28AF57
split-complementary
#283DAF #AF5728 #80AF28
monochromatic
#111A4B #1D2C7D #283DAF #4158D4 #7383DF
Accessibility & contrast
On white
8.84
#283DAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#283DAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #283DAF
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##283DAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##283DAF | 1.00 | 8.84 | 2.38 | 8.84 |
| #FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0044AD
Tritanopia (blue-blind)
#005B70
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #283daf; /* rgb */ color: rgb(40, 61, 175); /* oklch */ color: oklch(42.3% 0.182 268.8);
Tailwind
colors: {
custom: {
50: '#7872c8',
500: '#283daf',
950: '#000000',
},
}SCSS
$custom: #283daf; $custom-light: #7872c8; $custom-dark: #000000;
JSON
{
"hex": "#283daf",
"rgb": {
"r": 40,
"g": 61,
"b": 175
},
"hsl": {
"h": 230.667,
"s": 62.791,
"l": 42.157
},
"oklch": {
"l": 0.42296,
"c": 0.18188,
"h": 268.8
},
"luminance": 0.06884
}Semantic roles & 50–950 ramp
primary
#283DAF
secondary
#C6B86D
accent
#CC42E6
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0813
muted
#7C7B82