#285FC3#285FC3

#285FC3 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.7% C 0.167 H 261.2°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#285FC3
RGBrgb(40, 95, 195)
HSLhsl(219, 66%, 46%)
HSVhsv(219, 79%, 76%)
CMYKcmyk(79.5%, 51.3%, 0%, 23.5%)
CIE-LABlab(42.11, 18.59, -57.39)
CIE-LCHlch(42.11, 60.33, 287.95°)
OKLaboklab(50.72% -0.0257 -0.1653)
OKLCHoklch(50.72% 0.167 261.2)
XYZxyz(14.8140, 12.5739, 53.2654)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285FC3 #C38C28
analogous
#28ACC3 #285FC3 #3F28C3
triadic
#285FC3 #C3285F #5FC328
tetradic
#285FC3 #C328AC #C38C28 #28C33F
square
#285FC3 #C328AC #C38C28 #28C33F
split-complementary
#285FC3 #C33F28 #ACC328
monochromatic
#132E5D #1E4690 #285FC3 #4E80DB #80A4E5

Accessibility & contrast

On white

5.97
#285FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#285FC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285FC3
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285FC3#FFFFFF#000000##FFFFFF
##285FC31.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C6BC7
Deuteranopia (green-blind)
#005DC1
Tritanopia (blue-blind)
#007788
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #285fc3;
/* rgb */ color: rgb(40, 95, 195);
/* oklch */ color: oklch(50.7% 0.167 261.2);
Tailwind
colors: {
  custom: {
    50: '#7a8bd6',
    500: '#285fc3',
    950: '#000000',
  },
}
SCSS
$custom: #285fc3;
$custom-light: #7a8bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#285fc3",
  "rgb": {
    "r": 40,
    "g": 95,
    "b": 195
  },
  "hsl": {
    "h": 218.71,
    "s": 65.957,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50722,
    "c": 0.16728,
    "h": 261.2
  },
  "luminance": 0.12576
}

Semantic roles & 50–950 ramp

primary
#285FC3
secondary
#CEB079
accent
#AD3FE9
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #285FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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