#285991#285991

#285991 is a mid, moderate cyan. Relative luminance 0.096; OKLCH L 45.9% C 0.106 H 253.6°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#285991
RGBrgb(40, 89, 145)
HSLhsl(212, 57%, 36%)
HSVhsv(212, 72%, 57%)
CMYKcmyk(72.4%, 38.6%, 0%, 43.1%)
CIE-LABlab(37.19, 3.25, -35.69)
CIE-LCHlch(37.19, 35.84, 275.20°)
OKLaboklab(45.9% -0.0298 -0.1016)
OKLCHoklch(45.9% 0.106 253.6)
XYZxyz(9.5564, 9.6392, 28.1395)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285991 #916028
analogous
#288E91 #285991 #2C2891
triadic
#285991 #912859 #599128
tetradic
#285991 #91288E #916028 #28912C
square
#285991 #91288E #916028 #28912C
split-complementary
#285991 #912C28 #8E9128
monochromatic
#0E1E31 #1B3C61 #285991 #3576C1 #6096D3

Accessibility & contrast

On white

7.17
#285991 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#285991 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285991
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285991#FFFFFF#000000##FFFFFF
##2859911.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5D93
Deuteranopia (green-blind)
#305390
Tritanopia (blue-blind)
#00666E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #285991;
/* rgb */ color: rgb(40, 89, 145);
/* oklch */ color: oklch(45.9% 0.106 253.6);
Tailwind
colors: {
  custom: {
    50: '#6f87b1',
    500: '#285991',
    950: '#000000',
  },
}
SCSS
$custom: #285991;
$custom-light: #6f87b1;
$custom-dark: #000000;
JSON
{
  "hex": "#285991",
  "rgb": {
    "r": 40,
    "g": 89,
    "b": 145
  },
  "hsl": {
    "h": 212,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45898,
    "c": 0.10589,
    "h": 253.6
  },
  "luminance": 0.0964
}

Semantic roles & 50–950 ramp

primary
#285991
secondary
#B98D5C
accent
#9948E0
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #285991

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

Preview Lab → · Contrast checker → · Palette generator →

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