#283FA7#283FA7
#283FA7 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.9% C 0.169 H 268.4°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).
Color values
| HEX | #283FA7 |
|---|---|
| RGB | rgb(40, 63, 167) |
| HSL | hsl(229, 61%, 41%) |
| HSV | hsv(229, 76%, 65%) |
| CMYK | cmyk(76%, 62.3%, 0%, 34.5%) |
| CIE-LAB | lab(31.34, 29.02, -58.40) |
| CIE-LCH | lch(31.34, 65.21, 296.43°) |
| OKLab | oklab(41.93% -0.0048 -0.1688) |
| OKLCH | oklch(41.93% 0.169 268.4) |
| XYZ | xyz(9.6252, 6.7951, 37.3560) |
| Luminance | 0.0680 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.22
Cobalt
#0047AB
ΔE00 4.22
Blue Blue
#2242C7
ΔE00 4.32
Blueberry
#464196
ΔE00 5.03
Ocean Blue
#4F42B5
ΔE00 5.81
Cobalt (survey)
#1E488F
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#283FA7 #A79028
analogous
#287EA7 #283FA7 #5028A7
triadic
#283FA7 #A7283F #3FA728
tetradic
#283FA7 #A7287E #A79028 #28A750
square
#283FA7 #A7287E #A79028 #28A750
split-complementary
#283FA7 #A75028 #7EA728
monochromatic
#101A44 #1C2C76 #283FA7 #3C57D0 #6D81DC
Accessibility & contrast
On white
8.90
#283FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#283FA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #283FA7
8.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##283FA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##283FA7 | 1.00 | 8.90 | 2.36 | 8.90 |
| #FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050AA
Deuteranopia (green-blind)
#0044A5
Tritanopia (blue-blind)
#005A6D
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #283fa7; /* rgb */ color: rgb(40, 63, 167); /* oklch */ color: oklch(41.9% 0.169 268.4);
Tailwind
colors: {
custom: {
50: '#7673c2',
500: '#283fa7',
950: '#000000',
},
}SCSS
$custom: #283fa7; $custom-light: #7673c2; $custom-dark: #000000;
JSON
{
"hex": "#283fa7",
"rgb": {
"r": 40,
"g": 63,
"b": 167
},
"hsl": {
"h": 229.134,
"s": 61.353,
"l": 40.588
},
"oklch": {
"l": 0.4193,
"c": 0.16884,
"h": 268.4
},
"luminance": 0.06796
}Semantic roles & 50–950 ramp
primary
#283FA7
secondary
#C3B268
accent
#C743E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0812
muted
#7C7B81