#283FAB#283FAB
#283FAB is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.3% C 0.174 H 268.4°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #283FAB |
|---|---|
| RGB | rgb(40, 63, 171) |
| HSL | hsl(229, 62%, 41%) |
| HSV | hsv(229, 77%, 67%) |
| CMYK | cmyk(76.6%, 63.2%, 0%, 32.9%) |
| CIE-LAB | lab(31.68, 30.52, -60.23) |
| CIE-LCH | lch(31.68, 67.52, 296.87°) |
| OKLab | oklab(42.29% -0.0049 -0.1741) |
| OKLCH | oklch(42.29% 0.174 268.4) |
| XYZ | xyz(10.0007, 6.9453, 39.3337) |
| Luminance | 0.0695 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.06
Blue Blue
#2242C7
ΔE00 3.77
Cobalt
#0047AB
ΔE00 4.35
Blueberry
#464196
ΔE00 5.25
Ocean Blue
#4F42B5
ΔE00 5.48
Cobalt (survey)
#1E488F
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#283FAB #AB9428
analogous
#2881AB #283FAB #5328AB
triadic
#283FAB #AB283F #3FAB28
tetradic
#283FAB #AB2881 #AB9428 #28AB53
square
#283FAB #AB2881 #AB9428 #28AB53
split-complementary
#283FAB #AB5328 #81AB28
monochromatic
#111A48 #1C2D79 #283FAB #3E58D2 #7083DE
Accessibility & contrast
On white
8.79
#283FAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#283FAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #283FAB
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##283FAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##283FAB | 1.00 | 8.79 | 2.39 | 8.79 |
| #FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051AE
Deuteranopia (green-blind)
#0045A9
Tritanopia (blue-blind)
#005B6F
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #283fab; /* rgb */ color: rgb(40, 63, 171); /* oklch */ color: oklch(42.3% 0.174 268.4);
Tailwind
colors: {
custom: {
50: '#7774c5',
500: '#283fab',
950: '#000000',
},
}SCSS
$custom: #283fab; $custom-light: #7774c5; $custom-dark: #000000;
JSON
{
"hex": "#283fab",
"rgb": {
"r": 40,
"g": 63,
"b": 171
},
"hsl": {
"h": 229.466,
"s": 62.085,
"l": 41.373
},
"oklch": {
"l": 0.42293,
"c": 0.17421,
"h": 268.4
},
"luminance": 0.06946
}Semantic roles & 50–950 ramp
primary
#283FAB
secondary
#C4B56A
accent
#C943E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82