#285FB7#285FB7
#285FB7 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 49.8% C 0.151 H 259.6°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #285FB7 |
|---|---|
| RGB | rgb(40, 95, 183) |
| HSL | hsl(217, 64%, 44%) |
| HSV | hsv(217, 78%, 72%) |
| CMYK | cmyk(78.1%, 48.1%, 0%, 28.2%) |
| CIE-LAB | lab(41.30, 13.97, -51.72) |
| CIE-LCH | lch(41.30, 53.57, 285.11°) |
| OKLab | oklab(49.84% -0.0274 -0.1486) |
| OKLCH | oklch(49.84% 0.151 259.6) |
| XYZ | xyz(13.5114, 12.0529, 46.4049) |
| Luminance | 0.1205 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.38
Sapphire
#0F52BA
ΔE00 4.35
Mid Blue
#276AB3
ΔE00 4.43
French Blue
#436BAD
ΔE00 4.45
Denim Blue
#3B5B92
ΔE00 4.91
Denim (survey)
#3B638C
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285FB7 #B78028
analogous
#28A6B7 #285FB7 #3828B7
triadic
#285FB7 #B7285F #5FB728
tetradic
#285FB7 #B728A6 #B78028 #28B738
square
#285FB7 #B728A6 #B78028 #28B738
split-complementary
#285FB7 #B73828 #A6B728
monochromatic
#122B53 #1D4585 #285FB7 #467DD6 #78A1E1
Accessibility & contrast
On white
6.16
#285FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#285FB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #285FB7
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285FB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285FB7 | 1.00 | 6.16 | 3.41 | 6.16 |
| #FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D68BA
Deuteranopia (green-blind)
#005BB5
Tritanopia (blue-blind)
#007482
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #285fb7; /* rgb */ color: rgb(40, 95, 183); /* oklch */ color: oklch(49.8% 0.151 259.6);
Tailwind
colors: {
custom: {
50: '#788bcd',
500: '#285fb7',
950: '#000000',
},
}SCSS
$custom: #285fb7; $custom-light: #788bcd; $custom-dark: #000000;
JSON
{
"hex": "#285fb7",
"rgb": {
"r": 40,
"g": 95,
"b": 183
},
"hsl": {
"h": 216.923,
"s": 64.126,
"l": 43.725
},
"oklch": {
"l": 0.49838,
"c": 0.15109,
"h": 259.6
},
"luminance": 0.12054
}Semantic roles & 50–950 ramp
primary
#285FB7
secondary
#C9A872
accent
#A741E7
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82