#285DC6#285DC6

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

Color values

HEX#285DC6
RGBrgb(40, 93, 198)
HSLhsl(220, 66%, 47%)
HSVhsv(220, 80%, 78%)
CMYKcmyk(79.8%, 53%, 0%, 22.4%)
CIE-LABlab(41.78, 21.04, -59.68)
CIE-LCHlch(41.78, 63.28, 289.42°)
OKLaboklab(50.53% -0.0239 -0.172)
OKLCHoklch(50.53% 0.174 262.1)
XYZxyz(14.9788, 12.3553, 55.0105)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285DC6 #C69128
analogous
#28ACC6 #285DC6 #4228C6
triadic
#285DC6 #C6285D #5DC628
tetradic
#285DC6 #C628AC #C69128 #28C642
square
#285DC6 #C628AC #C69128 #28C642
split-complementary
#285DC6 #C64228 #ACC628
monochromatic
#132D60 #1E4593 #285DC6 #507FDC #83A4E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##285DC6#FFFFFF#000000##FFFFFF
##285DC61.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)
#096ACA
Deuteranopia (green-blind)
#005CC4
Tritanopia (blue-blind)
#007788
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #285dc6;
/* rgb */ color: rgb(40, 93, 198);
/* oklch */ color: oklch(50.5% 0.174 262.1);
Tailwind
colors: {
  custom: {
    50: '#7b8ad8',
    500: '#285dc6',
    950: '#000000',
  },
}
SCSS
$custom: #285dc6;
$custom-light: #7b8ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#285dc6",
  "rgb": {
    "r": 40,
    "g": 93,
    "b": 198
  },
  "hsl": {
    "h": 219.873,
    "s": 66.387,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50531,
    "c": 0.17371,
    "h": 262.1
  },
  "luminance": 0.12357
}

Semantic roles & 50–950 ramp

primary
#285DC6
secondary
#CFB37B
accent
#B03EE9
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B15
muted
#7C7C83

Preview Lab

Preview with #285DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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