#285899#285899

#285899 is a mid, moderate cyan. Relative luminance 0.097; OKLCH L 46.2% C 0.118 H 256.8°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#285899
RGBrgb(40, 88, 153)
HSLhsl(215, 59%, 38%)
HSVhsv(215, 74%, 60%)
CMYKcmyk(73.9%, 42.5%, 0%, 40%)
CIE-LABlab(37.35, 6.96, -40.26)
CIE-LCHlch(37.35, 40.85, 279.81°)
OKLaboklab(46.18% -0.0269 -0.115)
OKLCHoklch(46.18% 0.118 256.8)
XYZxyz(10.1125, 9.7294, 31.4758)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285899 #996928
analogous
#289099 #285899 #302899
triadic
#285899 #992858 #589928
tetradic
#285899 #992890 #996928 #289930
square
#285899 #992890 #996928 #289930
split-complementary
#285899 #993028 #909928
monochromatic
#0F2038 #1B3C68 #285899 #3574CA #6595D7

Accessibility & contrast

On white

7.13
#285899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#285899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285899
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285899#FFFFFF#000000##FFFFFF
##2858991.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395E9C
Deuteranopia (green-blind)
#265398
Tritanopia (blue-blind)
#006771
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #285899;
/* rgb */ color: rgb(40, 88, 153);
/* oklch */ color: oklch(46.2% 0.118 256.8);
Tailwind
colors: {
  custom: {
    50: '#7186b7',
    500: '#285899',
    950: '#000000',
  },
}
SCSS
$custom: #285899;
$custom-light: #7186b7;
$custom-dark: #000000;
JSON
{
  "hex": "#285899",
  "rgb": {
    "r": 40,
    "g": 88,
    "b": 153
  },
  "hsl": {
    "h": 214.513,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46179,
    "c": 0.11812,
    "h": 256.8
  },
  "luminance": 0.0973
}

Semantic roles & 50–950 ramp

primary
#285899
secondary
#BD9560
accent
#A046E2
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #285899

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

Preview Lab → · Contrast checker → · Palette generator →

#285899 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva