#285E9D#285E9D

#285E9D is a mid, moderate cyan. Relative luminance 0.109; OKLCH L 47.8% C 0.117 H 254.2°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#285E9D
RGBrgb(40, 94, 157)
HSLhsl(212, 59%, 39%)
HSVhsv(212, 75%, 62%)
CMYKcmyk(74.5%, 40.1%, 0%, 38.4%)
CIE-LABlab(39.39, 4.61, -39.40)
CIE-LCHlch(39.39, 39.67, 276.67°)
OKLaboklab(47.84% -0.0317 -0.1124)
OKLCHoklch(47.84% 0.117 254.2)
XYZxyz(10.9613, 10.8896, 33.4160)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285E9D #9D6728
analogous
#28989D #285E9D #2C289D
triadic
#285E9D #9D285E #5E9D28
tetradic
#285E9D #9D2898 #9D6728 #289D2C
square
#285E9D #9D2898 #9D6728 #289D2C
split-complementary
#285E9D #9D2C28 #989D28
monochromatic
#0F243B #1C416C #285E9D #367BCC #679BD8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##285E9D#FFFFFF#000000##FFFFFF
##285E9D1.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)
#4063A0
Deuteranopia (green-blind)
#2E589C
Tritanopia (blue-blind)
#006D76
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #285e9d;
/* rgb */ color: rgb(40, 94, 157);
/* oklch */ color: oklch(47.8% 0.117 254.2);
Tailwind
colors: {
  custom: {
    50: '#728bba',
    500: '#285e9d',
    950: '#000000',
  },
}
SCSS
$custom: #285e9d;
$custom-light: #728bba;
$custom-dark: #000000;
JSON
{
  "hex": "#285e9d",
  "rgb": {
    "r": 40,
    "g": 94,
    "b": 157
  },
  "hsl": {
    "h": 212.308,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47843,
    "c": 0.11678,
    "h": 254.2
  },
  "luminance": 0.10891
}

Semantic roles & 50–950 ramp

primary
#285E9D
secondary
#BE9462
accent
#9A45E3
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #285E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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