#285CC3#285CC3

#285CC3 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.1% C 0.171 H 262.1°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#285CC3
RGBrgb(40, 92, 195)
HSLhsl(220, 66%, 46%)
HSVhsv(220, 79%, 76%)
CMYKcmyk(79.5%, 52.8%, 0%, 23.5%)
CIE-LABlab(41.29, 20.54, -58.73)
CIE-LCHlch(41.29, 62.22, 289.28°)
OKLaboklab(50.09% -0.0235 -0.1693)
OKLCHoklch(50.09% 0.171 262.1)
XYZxyz(14.5490, 12.0438, 53.1771)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285CC3 #C38F28
analogous
#28A9C3 #285CC3 #4128C3
triadic
#285CC3 #C3285C #5CC328
tetradic
#285CC3 #C328A9 #C38F28 #28C341
square
#285CC3 #C328A9 #C38F28 #28C341
split-complementary
#285CC3 #C34128 #A9C328
monochromatic
#132C5D #1E4490 #285CC3 #4E7DDB #80A2E5

Accessibility & contrast

On white

6.16
#285CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#285CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285CC3
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285CC3#FFFFFF#000000##FFFFFF
##285CC31.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D69C7
Deuteranopia (green-blind)
#005BC1
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #285cc3;
/* rgb */ color: rgb(40, 92, 195);
/* oklch */ color: oklch(50.1% 0.171 262.1);
Tailwind
colors: {
  custom: {
    50: '#7a89d6',
    500: '#285cc3',
    950: '#000000',
  },
}
SCSS
$custom: #285cc3;
$custom-light: #7a89d6;
$custom-dark: #000000;
JSON
{
  "hex": "#285cc3",
  "rgb": {
    "r": 40,
    "g": 92,
    "b": 195
  },
  "hsl": {
    "h": 219.871,
    "s": 65.957,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50091,
    "c": 0.17092,
    "h": 262.1
  },
  "luminance": 0.12046
}

Semantic roles & 50–950 ramp

primary
#285CC3
secondary
#CEB179
accent
#B03FE9
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #285CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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