#285FB1#285FB1
#285FB1 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.4% C 0.143 H 258.5°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #285FB1 |
|---|---|
| RGB | rgb(40, 95, 177) |
| HSL | hsl(216, 63%, 43%) |
| HSV | hsv(216, 77%, 69%) |
| CMYK | cmyk(77.4%, 46.3%, 0%, 30.6%) |
| CIE-LAB | lab(40.91, 11.65, -48.83) |
| CIE-LCH | lch(40.91, 50.20, 283.42°) |
| OKLab | oklab(49.41% -0.0284 -0.1401) |
| OKLCH | oklch(49.41% 0.143 258.5) |
| XYZ | xyz(12.9002, 11.8084, 43.1858) |
| Luminance | 0.1181 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.54
Mid Blue
#276AB3
ΔE00 4.23
Denim Blue
#3B5B92
ΔE00 4.42
French Blue
#436BAD
ΔE00 4.46
Sapphire
#0F52BA
ΔE00 4.55
Denim (survey)
#3B638C
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285FB1 #B17A28
analogous
#28A4B1 #285FB1 #3528B1
triadic
#285FB1 #B1285F #5FB128
tetradic
#285FB1 #B128A4 #B17A28 #28B135
square
#285FB1 #B128A4 #B17A28 #28B135
split-complementary
#285FB1 #B13528 #A4B128
monochromatic
#11294D #1D447F #285FB1 #427DD4 #749FE0
Accessibility & contrast
On white
6.25
#285FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#285FB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #285FB1
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285FB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285FB1 | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3367B4
Deuteranopia (green-blind)
#125BAF
Tritanopia (blue-blind)
#00727F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #285fb1; /* rgb */ color: rgb(40, 95, 177); /* oklch */ color: oklch(49.4% 0.143 258.5);
Tailwind
colors: {
custom: {
50: '#768bc9',
500: '#285fb1',
950: '#000000',
},
}SCSS
$custom: #285fb1; $custom-light: #768bc9; $custom-dark: #000000;
JSON
{
"hex": "#285fb1",
"rgb": {
"r": 40,
"g": 95,
"b": 177
},
"hsl": {
"h": 215.912,
"s": 63.134,
"l": 42.549
},
"oklch": {
"l": 0.49413,
"c": 0.14293,
"h": 258.5
},
"luminance": 0.1181
}Semantic roles & 50–950 ramp
primary
#285FB1
secondary
#C7A36E
accent
#A442E6
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82