#285CA5#285CA5

#285CA5 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 47.9% C 0.130 H 257.5°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#285CA5
RGBrgb(40, 92, 165)
HSLhsl(215, 61%, 40%)
HSVhsv(215, 76%, 65%)
CMYKcmyk(75.8%, 44.2%, 0%, 35.3%)
CIE-LABlab(39.28, 8.97, -44.35)
CIE-LCHlch(39.28, 45.25, 281.44°)
OKLaboklab(47.91% -0.0281 -0.127)
OKLCHoklch(47.91% 0.13 257.5)
XYZxyz(11.4913, 10.8207, 37.0730)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285CA5 #A57128
analogous
#289BA5 #285CA5 #3228A5
triadic
#285CA5 #A5285C #5CA528
tetradic
#285CA5 #A5289B #A57128 #28A532
square
#285CA5 #A5289B #A57128 #28A532
split-complementary
#285CA5 #A53228 #9BA528
monochromatic
#102542 #1C4174 #285CA5 #3B79CF #6C9ADB

Accessibility & contrast

On white

6.64
#285CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#285CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285CA5
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285CA5#FFFFFF#000000##FFFFFF
##285CA51.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3763A8
Deuteranopia (green-blind)
#2057A4
Tritanopia (blue-blind)
#006D78
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #285ca5;
/* rgb */ color: rgb(40, 92, 165);
/* oklch */ color: oklch(47.9% 0.130 257.5);
Tailwind
colors: {
  custom: {
    50: '#7489c0',
    500: '#285ca5',
    950: '#000000',
  },
}
SCSS
$custom: #285ca5;
$custom-light: #7489c0;
$custom-dark: #000000;
JSON
{
  "hex": "#285ca5",
  "rgb": {
    "r": 40,
    "g": 92,
    "b": 165
  },
  "hsl": {
    "h": 215.04,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47908,
    "c": 0.13005,
    "h": 257.5
  },
  "luminance": 0.10822
}

Semantic roles & 50–950 ramp

primary
#285CA5
secondary
#C29C67
accent
#A144E4
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #285CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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