#285990#285990

#285990 is a mid, moderate cyan. Relative luminance 0.096; OKLCH L 45.8% C 0.105 H 253.3°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#285990
RGBrgb(40, 89, 144)
HSLhsl(212, 57%, 36%)
HSVhsv(212, 72%, 56%)
CMYKcmyk(72.2%, 38.2%, 0%, 43.5%)
CIE-LABlab(37.13, 2.86, -35.18)
CIE-LCHlch(37.13, 35.29, 274.66°)
OKLaboklab(45.84% -0.0301 -0.1001)
OKLCHoklch(45.84% 0.105 253.3)
XYZxyz(9.4796, 9.6085, 27.7352)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285990 #905F28
analogous
#288D90 #285990 #2B2890
triadic
#285990 #902859 #599028
tetradic
#285990 #90288D #905F28 #28902B
square
#285990 #90288D #905F28 #28902B
split-complementary
#285990 #902B28 #8D9028
monochromatic
#0D1E30 #1B3B60 #285990 #3577C0 #6096D3

Accessibility & contrast

On white

7.19
#285990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#285990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##285990#FFFFFF#000000##FFFFFF
##2859901.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)
#405D92
Deuteranopia (green-blind)
#31538F
Tritanopia (blue-blind)
#00666D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #285990;
/* rgb */ color: rgb(40, 89, 144);
/* oklch */ color: oklch(45.8% 0.105 253.3);
Tailwind
colors: {
  custom: {
    50: '#6f87b1',
    500: '#285990',
    950: '#000000',
  },
}
SCSS
$custom: #285990;
$custom-light: #6f87b1;
$custom-dark: #000000;
JSON
{
  "hex": "#285990",
  "rgb": {
    "r": 40,
    "g": 89,
    "b": 144
  },
  "hsl": {
    "h": 211.731,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45835,
    "c": 0.10452,
    "h": 253.3
  },
  "luminance": 0.09609
}

Semantic roles & 50–950 ramp

primary
#285990
secondary
#B88D5C
accent
#9848E0
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #285990

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

Preview Lab → · Contrast checker → · Palette generator →

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