#285997#285997

#285997 is a mid, moderate cyan. Relative luminance 0.098; OKLCH L 46.3% C 0.114 H 255.6°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#285997
RGBrgb(40, 89, 151)
HSLhsl(214, 58%, 37%)
HSVhsv(214, 74%, 59%)
CMYKcmyk(73.5%, 41.1%, 0%, 40.8%)
CIE-LABlab(37.53, 5.54, -38.76)
CIE-LCHlch(37.53, 39.16, 278.13°)
OKLaboklab(46.28% -0.0283 -0.1106)
OKLCHoklch(46.28% 0.114 255.6)
XYZxyz(10.0313, 9.8291, 30.6407)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285997 #976628
analogous
#289097 #285997 #2F2897
triadic
#285997 #972859 #599728
tetradic
#285997 #972890 #976628 #28972F
square
#285997 #972890 #976628 #28972F
split-complementary
#285997 #972F28 #909728
monochromatic
#0E2036 #1B3C67 #285997 #3576C7 #6496D6

Accessibility & contrast

On white

7.08
#285997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#285997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285997
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285997#FFFFFF#000000##FFFFFF
##2859971.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5E99
Deuteranopia (green-blind)
#2A5496
Tritanopia (blue-blind)
#006770
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #285997;
/* rgb */ color: rgb(40, 89, 151);
/* oklch */ color: oklch(46.3% 0.114 255.6);
Tailwind
colors: {
  custom: {
    50: '#7187b6',
    500: '#285997',
    950: '#000000',
  },
}
SCSS
$custom: #285997;
$custom-light: #7187b6;
$custom-dark: #000000;
JSON
{
  "hex": "#285997",
  "rgb": {
    "r": 40,
    "g": 89,
    "b": 151
  },
  "hsl": {
    "h": 213.514,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46281,
    "c": 0.11418,
    "h": 255.6
  },
  "luminance": 0.0983
}

Semantic roles & 50–950 ramp

primary
#285997
secondary
#BC935F
accent
#9D46E1
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #285997

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

Preview Lab → · Contrast checker → · Palette generator →

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