#285A9F#285A9F

#285A9F is a mid, vivid cyan. Relative luminance 0.103; OKLCH L 47.0% C 0.124 H 257.2°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#285A9F
RGBrgb(40, 90, 159)
HSLhsl(215, 60%, 39%)
HSVhsv(215, 75%, 62%)
CMYKcmyk(74.8%, 43.4%, 0%, 37.6%)
CIE-LABlab(38.31, 7.96, -42.32)
CIE-LCHlch(38.31, 43.06, 280.66°)
OKLaboklab(47.04% -0.0275 -0.121)
OKLCHoklch(47.04% 0.124 257.2)
XYZxyz(10.7870, 10.2654, 34.2071)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285A9F #9F6D28
analogous
#28969F #285A9F #32289F
triadic
#285A9F #9F285A #5A9F28
tetradic
#285A9F #9F2896 #9F6D28 #289F32
square
#285A9F #9F2896 #9F6D28 #289F32
split-complementary
#285A9F #9F3228 #969F28
monochromatic
#0F233D #1C3E6E #285A9F #3776CD #6898D9

Accessibility & contrast

On white

6.88
#285A9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#285A9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285A9F
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285A9F#FFFFFF#000000##FFFFFF
##285A9F1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3860A2
Deuteranopia (green-blind)
#23559E
Tritanopia (blue-blind)
#006A74
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #285a9f;
/* rgb */ color: rgb(40, 90, 159);
/* oklch */ color: oklch(47.0% 0.124 257.2);
Tailwind
colors: {
  custom: {
    50: '#7288bc',
    500: '#285a9f',
    950: '#000000',
  },
}
SCSS
$custom: #285a9f;
$custom-light: #7288bc;
$custom-dark: #000000;
JSON
{
  "hex": "#285a9f",
  "rgb": {
    "r": 40,
    "g": 90,
    "b": 159
  },
  "hsl": {
    "h": 214.79,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47043,
    "c": 0.12411,
    "h": 257.2
  },
  "luminance": 0.10267
}

Semantic roles & 50–950 ramp

primary
#285A9F
secondary
#BF9964
accent
#A145E3
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #285A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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