#285AD1#285AD1

#285AD1 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.8% C 0.192 H 263.7°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#285AD1
RGBrgb(40, 90, 209)
HSLhsl(222, 68%, 49%)
HSVhsv(222, 81%, 82%)
CMYKcmyk(80.9%, 56.9%, 0%, 18%)
CIE-LABlab(41.79, 27.19, -66.00)
CIE-LCHlch(41.79, 71.38, 292.39°)
OKLaboklab(50.8% -0.0211 -0.1907)
OKLCHoklch(50.8% 0.192 263.7)
XYZxyz(16.0358, 12.3650, 61.8508)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285AD1 #D19F28
analogous
#28AED1 #285AD1 #4B28D1
triadic
#285AD1 #D1285A #5AD128
tetradic
#285AD1 #D128AE #D19F28 #28D14B
square
#285AD1 #D128AE #D19F28 #28D14B
split-complementary
#285AD1 #D14B28 #AED128
monochromatic
#142E6A #1E449E #285AD1 #577FDF #8BA6E9

Accessibility & contrast

On white

6.05
#285AD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#285AD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285AD1
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285AD1#FFFFFF#000000##FFFFFF
##285AD11.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD5
Deuteranopia (green-blind)
#005BCF
Tritanopia (blue-blind)
#00788D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #285ad1;
/* rgb */ color: rgb(40, 90, 209);
/* oklch */ color: oklch(50.8% 0.192 263.7);
Tailwind
colors: {
  custom: {
    50: '#7e88e0',
    500: '#285ad1',
    950: '#000000',
  },
}
SCSS
$custom: #285ad1;
$custom-light: #7e88e0;
$custom-dark: #000000;
JSON
{
  "hex": "#285ad1",
  "rgb": {
    "r": 40,
    "g": 90,
    "b": 209
  },
  "hsl": {
    "h": 222.249,
    "s": 67.871,
    "l": 48.824
  },
  "oklch": {
    "l": 0.508,
    "c": 0.19184,
    "h": 263.7
  },
  "luminance": 0.12367
}

Semantic roles & 50–950 ramp

primary
#285AD1
secondary
#D3BB82
accent
#B73DEB
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #285AD1

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

Preview Lab → · Contrast checker → · Palette generator →

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