#284FAA#284FAA
#284FAA is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.4% C 0.153 H 263.9°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #284FAA |
|---|---|
| RGB | rgb(40, 79, 170) |
| HSL | hsl(222, 62%, 41%) |
| HSV | hsv(222, 76%, 67%) |
| CMYK | cmyk(76.5%, 53.5%, 0%, 33.3%) |
| CIE-LAB | lab(35.88, 19.50, -52.80) |
| CIE-LCH | lch(35.88, 56.29, 290.26°) |
| OKLab | oklab(45.41% -0.0164 -0.1521) |
| OKLCH | oklch(45.41% 0.153 263.9) |
| XYZ | xyz(10.9242, 8.9441, 39.1731) |
| Luminance | 0.0895 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.52
Cobalt
#0047AB
ΔE00 2.87
Cobalt (survey)
#1E488F
ΔE00 4.27
Dusk Blue
#26538D
ΔE00 4.71
Denim Blue
#3B5B92
ΔE00 5.25
Blue Blue
#2242C7
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284FAA #AA8328
analogous
#2890AA #284FAA #4228AA
triadic
#284FAA #AA284F #4FAA28
tetradic
#284FAA #AA2890 #AA8328 #28AA42
square
#284FAA #AA2890 #AA8328 #28AA42
split-complementary
#284FAA #AA4228 #90AA28
monochromatic
#112147 #1C3878 #284FAA #3E6AD2 #6F90DD
Accessibility & contrast
On white
7.53
#284FAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#284FAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284FAA
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284FAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284FAA | 1.00 | 7.53 | 2.79 | 7.53 |
| #FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A5BAD
Deuteranopia (green-blind)
#004FA8
Tritanopia (blue-blind)
#006575
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #284faa; /* rgb */ color: rgb(40, 79, 170); /* oklch */ color: oklch(45.4% 0.153 263.9);
Tailwind
colors: {
custom: {
50: '#757fc4',
500: '#284faa',
950: '#000000',
},
}SCSS
$custom: #284faa; $custom-light: #757fc4; $custom-dark: #000000;
JSON
{
"hex": "#284faa",
"rgb": {
"r": 40,
"g": 79,
"b": 170
},
"hsl": {
"h": 222,
"s": 61.905,
"l": 41.176
},
"oklch": {
"l": 0.45409,
"c": 0.15297,
"h": 263.9
},
"luminance": 0.08945
}Semantic roles & 50–950 ramp
primary
#284FAA
secondary
#C4A96A
accent
#B443E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82