#285CA6#285CA6

#285CA6 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.0% C 0.131 H 257.8°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#285CA6
RGBrgb(40, 92, 166)
HSLhsl(215, 61%, 40%)
HSVhsv(215, 76%, 65%)
CMYKcmyk(75.9%, 44.6%, 0%, 34.9%)
CIE-LABlab(39.34, 9.36, -44.85)
CIE-LCHlch(39.34, 45.81, 281.79°)
OKLaboklab(47.98% -0.0279 -0.1284)
OKLCHoklch(47.98% 0.131 257.8)
XYZxyz(11.5826, 10.8573, 37.5542)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285CA6 #A67228
analogous
#289BA6 #285CA6 #3328A6
triadic
#285CA6 #A6285C #5CA628
tetradic
#285CA6 #A6289B #A67228 #28A633
square
#285CA6 #A6289B #A67228 #28A633
split-complementary
#285CA6 #A63328 #9BA628
monochromatic
#102543 #1C4175 #285CA6 #3B79D0 #6D9BDC

Accessibility & contrast

On white

6.62
#285CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#285CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285CA6
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285CA6#FFFFFF#000000##FFFFFF
##285CA61.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3763A9
Deuteranopia (green-blind)
#1E57A5
Tritanopia (blue-blind)
#006D79
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #285ca6;
/* rgb */ color: rgb(40, 92, 166);
/* oklch */ color: oklch(48.0% 0.131 257.8);
Tailwind
colors: {
  custom: {
    50: '#7489c1',
    500: '#285ca6',
    950: '#000000',
  },
}
SCSS
$custom: #285ca6;
$custom-light: #7489c1;
$custom-dark: #000000;
JSON
{
  "hex": "#285ca6",
  "rgb": {
    "r": 40,
    "g": 92,
    "b": 166
  },
  "hsl": {
    "h": 215.238,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47976,
    "c": 0.13142,
    "h": 257.8
  },
  "luminance": 0.10859
}

Semantic roles & 50–950 ramp

primary
#285CA6
secondary
#C29D67
accent
#A244E4
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #285CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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