#285CA7#285CA7

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

Color values

HEX#285CA7
RGBrgb(40, 92, 167)
HSLhsl(215, 61%, 41%)
HSVhsv(215, 76%, 65%)
CMYKcmyk(76%, 44.9%, 0%, 34.5%)
CIE-LABlab(39.40, 9.75, -45.34)
CIE-LCHlch(39.40, 46.38, 282.13°)
OKLaboklab(48.04% -0.0277 -0.1299)
OKLCHoklch(48.04% 0.133 258)
XYZxyz(11.6747, 10.8941, 38.0392)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285CA7 #A77328
analogous
#289BA7 #285CA7 #3328A7
triadic
#285CA7 #A7285C #5CA728
tetradic
#285CA7 #A7289B #A77328 #28A733
square
#285CA7 #A7289B #A77328 #28A733
split-complementary
#285CA7 #A73328 #9BA728
monochromatic
#102644 #1C4176 #285CA7 #3C79D0 #6D9BDC

Accessibility & contrast

On white

6.61
#285CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#285CA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285CA7
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285CA7#FFFFFF#000000##FFFFFF
##285CA71.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3663AA
Deuteranopia (green-blind)
#1C57A5
Tritanopia (blue-blind)
#006E79
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #285ca7;
/* rgb */ color: rgb(40, 92, 167);
/* oklch */ color: oklch(48.0% 0.133 258.0);
Tailwind
colors: {
  custom: {
    50: '#7489c2',
    500: '#285ca7',
    950: '#000000',
  },
}
SCSS
$custom: #285ca7;
$custom-light: #7489c2;
$custom-dark: #000000;
JSON
{
  "hex": "#285ca7",
  "rgb": {
    "r": 40,
    "g": 92,
    "b": 167
  },
  "hsl": {
    "h": 215.433,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48044,
    "c": 0.13279,
    "h": 258
  },
  "luminance": 0.10895
}

Semantic roles & 50–950 ramp

primary
#285CA7
secondary
#C39E68
accent
#A243E4
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #285CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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