#285E9A#285E9A

#285E9A is a mid, moderate cyan. Relative luminance 0.108; OKLCH L 47.7% C 0.113 H 253.3°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#285E9A
RGBrgb(40, 94, 154)
HSLhsl(212, 59%, 38%)
HSVhsv(212, 74%, 60%)
CMYKcmyk(74%, 39%, 0%, 39.6%)
CIE-LABlab(39.22, 3.46, -37.88)
CIE-LCHlch(39.22, 38.04, 275.23°)
OKLaboklab(47.65% -0.0324 -0.1079)
OKLCHoklch(47.65% 0.113 253.3)
XYZxyz(10.7083, 10.7884, 32.0836)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285E9A #9A6428
analogous
#28979A #285E9A #2B289A
triadic
#285E9A #9A285E #5E9A28
tetradic
#285E9A #9A2897 #9A6428 #289A2B
square
#285E9A #9A2897 #9A6428 #289A2B
split-complementary
#285E9A #9A2B28 #979A28
monochromatic
#0F2339 #1B4069 #285E9A #357CCA #659BD7

Accessibility & contrast

On white

6.65
#285E9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #285E9A
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285E9A#FFFFFF#000000##FFFFFF
##285E9A1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42629C
Deuteranopia (green-blind)
#315899
Tritanopia (blue-blind)
#006C74
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #285e9a;
/* rgb */ color: rgb(40, 94, 154);
/* oklch */ color: oklch(47.7% 0.113 253.3);
Tailwind
colors: {
  custom: {
    50: '#718bb8',
    500: '#285e9a',
    950: '#000000',
  },
}
SCSS
$custom: #285e9a;
$custom-light: #718bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#285e9a",
  "rgb": {
    "r": 40,
    "g": 94,
    "b": 154
  },
  "hsl": {
    "h": 211.579,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47653,
    "c": 0.1127,
    "h": 253.3
  },
  "luminance": 0.1079
}

Semantic roles & 50–950 ramp

primary
#285E9A
secondary
#BD9161
accent
#9846E2
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #285E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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