#285BC3#285BC3

#285BC3 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.9% C 0.172 H 262.4°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#285BC3
RGBrgb(40, 91, 195)
HSLhsl(220, 66%, 46%)
HSVhsv(220, 79%, 76%)
CMYKcmyk(79.5%, 53.3%, 0%, 23.5%)
CIE-LABlab(41.01, 21.20, -59.18)
CIE-LCHlch(41.01, 62.86, 289.71°)
OKLaboklab(49.88% -0.0228 -0.1706)
OKLCHoklch(49.88% 0.172 262.4)
XYZxyz(14.4629, 11.8717, 53.1484)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285BC3 #C39028
analogous
#28A8C3 #285BC3 #4228C3
triadic
#285BC3 #C3285B #5BC328
tetradic
#285BC3 #C328A8 #C39028 #28C342
square
#285BC3 #C328A8 #C39028 #28C342
split-complementary
#285BC3 #C34228 #A8C328
monochromatic
#132C5D #1E4390 #285BC3 #4E7CDB #80A1E5

Accessibility & contrast

On white

6.22
#285BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#285BC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285BC3
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285BC3#FFFFFF#000000##FFFFFF
##285BC31.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0568C7
Deuteranopia (green-blind)
#005AC1
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #285bc3;
/* rgb */ color: rgb(40, 91, 195);
/* oklch */ color: oklch(49.9% 0.172 262.4);
Tailwind
colors: {
  custom: {
    50: '#7b88d6',
    500: '#285bc3',
    950: '#000000',
  },
}
SCSS
$custom: #285bc3;
$custom-light: #7b88d6;
$custom-dark: #000000;
JSON
{
  "hex": "#285bc3",
  "rgb": {
    "r": 40,
    "g": 91,
    "b": 195
  },
  "hsl": {
    "h": 220.258,
    "s": 65.957,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49882,
    "c": 0.17214,
    "h": 262.4
  },
  "luminance": 0.11873
}

Semantic roles & 50–950 ramp

primary
#285BC3
secondary
#CEB279
accent
#B13FE9
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #285BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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