#285DB1#285DB1

#285DB1 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.0% C 0.145 H 259.4°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#285DB1
RGBrgb(40, 93, 177)
HSLhsl(217, 63%, 43%)
HSVhsv(217, 77%, 69%)
CMYKcmyk(77.4%, 47.5%, 0%, 30.6%)
CIE-LABlab(40.33, 12.95, -49.75)
CIE-LCHlch(40.33, 51.41, 284.59°)
OKLaboklab(48.97% -0.0267 -0.1428)
OKLCHoklch(48.97% 0.145 259.4)
XYZxyz(12.7223, 11.4527, 43.1265)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285DB1 #B17C28
analogous
#28A2B1 #285DB1 #3728B1
triadic
#285DB1 #B1285D #5DB128
tetradic
#285DB1 #B128A2 #B17C28 #28B137
square
#285DB1 #B128A2 #B17C28 #28B137
split-complementary
#285DB1 #B13728 #A2B128
monochromatic
#11294D #1D437F #285DB1 #427BD4 #749EE0

Accessibility & contrast

On white

6.38
#285DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#285DB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285DB1
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285DB1#FFFFFF#000000##FFFFFF
##285DB11.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F66B4
Deuteranopia (green-blind)
#0659AF
Tritanopia (blue-blind)
#00717E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #285db1;
/* rgb */ color: rgb(40, 93, 177);
/* oklch */ color: oklch(49.0% 0.145 259.4);
Tailwind
colors: {
  custom: {
    50: '#768ac9',
    500: '#285db1',
    950: '#000000',
  },
}
SCSS
$custom: #285db1;
$custom-light: #768ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#285db1",
  "rgb": {
    "r": 40,
    "g": 93,
    "b": 177
  },
  "hsl": {
    "h": 216.788,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48968,
    "c": 0.14533,
    "h": 259.4
  },
  "luminance": 0.11454
}

Semantic roles & 50–950 ramp

primary
#285DB1
secondary
#C7A46E
accent
#A742E6
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #285DB1

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#285DB1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva