#285A9A#285A9A

#285A9A is a mid, moderate cyan. Relative luminance 0.101; OKLCH L 46.7% C 0.117 H 255.9°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#285A9A
RGBrgb(40, 90, 154)
HSLhsl(214, 59%, 38%)
HSVhsv(214, 74%, 60%)
CMYKcmyk(74%, 41.6%, 0%, 39.6%)
CIE-LABlab(38.01, 6.04, -39.80)
CIE-LCHlch(38.01, 40.26, 278.63°)
OKLaboklab(46.71% -0.0286 -0.1136)
OKLCHoklch(46.71% 0.117 255.9)
XYZxyz(10.3618, 10.0954, 31.9681)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285A9A #9A6828
analogous
#28939A #285A9A #2F289A
triadic
#285A9A #9A285A #5A9A28
tetradic
#285A9A #9A2893 #9A6828 #289A2F
square
#285A9A #9A2893 #9A6828 #289A2F
split-complementary
#285A9A #9A2F28 #939A28
monochromatic
#0F2139 #1B3E69 #285A9A #3576CA #6597D7

Accessibility & contrast

On white

6.96
#285A9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#285A9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285A9A
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285A9A#FFFFFF#000000##FFFFFF
##285A9A1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5F9D
Deuteranopia (green-blind)
#295599
Tritanopia (blue-blind)
#006972
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #285a9a;
/* rgb */ color: rgb(40, 90, 154);
/* oklch */ color: oklch(46.7% 0.117 255.9);
Tailwind
colors: {
  custom: {
    50: '#7188b8',
    500: '#285a9a',
    950: '#000000',
  },
}
SCSS
$custom: #285a9a;
$custom-light: #7188b8;
$custom-dark: #000000;
JSON
{
  "hex": "#285a9a",
  "rgb": {
    "r": 40,
    "g": 90,
    "b": 154
  },
  "hsl": {
    "h": 213.684,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46711,
    "c": 0.11719,
    "h": 255.9
  },
  "luminance": 0.10097
}

Semantic roles & 50–950 ramp

primary
#285A9A
secondary
#BD9561
accent
#9D46E2
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #285A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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