#285EA7#285EA7

#285EA7 is a mid, vivid cyan. Relative luminance 0.112; OKLCH L 48.5% C 0.130 H 257.0°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#285EA7
RGBrgb(40, 94, 167)
HSLhsl(214, 61%, 41%)
HSVhsv(214, 76%, 65%)
CMYKcmyk(76%, 43.7%, 0%, 34.5%)
CIE-LABlab(39.99, 8.45, -44.40)
CIE-LCHlch(39.99, 45.19, 280.77°)
OKLaboklab(48.5% -0.0294 -0.1271)
OKLCHoklch(48.5% 0.13 257)
XYZxyz(11.8503, 11.2452, 38.0977)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285EA7 #A77128
analogous
#289DA7 #285EA7 #3128A7
triadic
#285EA7 #A7285E #5EA728
tetradic
#285EA7 #A7289D #A77128 #28A731
square
#285EA7 #A7289D #A77128 #28A731
split-complementary
#285EA7 #A73128 #9DA728
monochromatic
#102644 #1C4276 #285EA7 #3C7BD0 #6D9CDC

Accessibility & contrast

On white

6.46
#285EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#285EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285EA7
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285EA7#FFFFFF#000000##FFFFFF
##285EA71.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A64AA
Deuteranopia (green-blind)
#2259A6
Tritanopia (blue-blind)
#006F7A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #285ea7;
/* rgb */ color: rgb(40, 94, 167);
/* oklch */ color: oklch(48.5% 0.130 257.0);
Tailwind
colors: {
  custom: {
    50: '#748bc1',
    500: '#285ea7',
    950: '#000000',
  },
}
SCSS
$custom: #285ea7;
$custom-light: #748bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#285ea7",
  "rgb": {
    "r": 40,
    "g": 94,
    "b": 167
  },
  "hsl": {
    "h": 214.488,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.485,
    "c": 0.13044,
    "h": 257
  },
  "luminance": 0.11247
}

Semantic roles & 50–950 ramp

primary
#285EA7
secondary
#C39C68
accent
#A043E4
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #285EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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