#285A8A#285A8A

#285A8A is a mid, moderate cyan. Relative luminance 0.096; OKLCH L 45.7% C 0.095 H 249.9°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#285A8A
RGBrgb(40, 90, 138)
HSLhsl(209, 55%, 35%)
HSVhsv(209, 71%, 54%)
CMYKcmyk(71%, 34.8%, 0%, 45.9%)
CIE-LABlab(37.11, -0.04, -31.57)
CIE-LCHlch(37.11, 31.57, 269.92°)
OKLaboklab(45.71% -0.0328 -0.0895)
OKLCHoklch(45.71% 0.095 249.9)
XYZxyz(9.1170, 9.5975, 25.4118)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285A8A #8A5828
analogous
#288A89 #285A8A #28298A
triadic
#285A8A #8A285A #5A8A28
tetradic
#285A8A #89288A #8A5828 #298A28
square
#285A8A #89288A #8A5828 #298A28
split-complementary
#285A8A #8A2829 #8A8928
monochromatic
#0C1C2B #1A3B5B #285A8A #3679B9 #5D97D0

Accessibility & contrast

On white

7.19
#285A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#285A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285A8A
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285A8A#FFFFFF#000000##FFFFFF
##285A8A1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455C8C
Deuteranopia (green-blind)
#375389
Tritanopia (blue-blind)
#00656B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #285a8a;
/* rgb */ color: rgb(40, 90, 138);
/* oklch */ color: oklch(45.7% 0.095 249.9);
Tailwind
colors: {
  custom: {
    50: '#6e88ac',
    500: '#285a8a',
    950: '#000000',
  },
}
SCSS
$custom: #285a8a;
$custom-light: #6e88ac;
$custom-dark: #000000;
JSON
{
  "hex": "#285a8a",
  "rgb": {
    "r": 40,
    "g": 90,
    "b": 138
  },
  "hsl": {
    "h": 209.388,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45712,
    "c": 0.09535,
    "h": 249.9
  },
  "luminance": 0.09598
}

Semantic roles & 50–950 ramp

primary
#285A8A
secondary
#B58659
accent
#9249DE
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #285A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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