#285897#285897

#285897 is a mid, moderate cyan. Relative luminance 0.097; OKLCH L 46.0% C 0.115 H 256.3°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#285897
RGBrgb(40, 88, 151)
HSLhsl(214, 58%, 37%)
HSVhsv(214, 74%, 59%)
CMYKcmyk(73.5%, 41.7%, 0%, 40.8%)
CIE-LABlab(37.23, 6.19, -39.24)
CIE-LCHlch(37.23, 39.73, 278.96°)
OKLaboklab(46.05% -0.0274 -0.112)
OKLCHoklch(46.05% 0.115 256.3)
XYZxyz(9.9487, 9.6638, 30.6131)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285897 #976728
analogous
#289097 #285897 #302897
triadic
#285897 #972858 #589728
tetradic
#285897 #972890 #976728 #289730
square
#285897 #972890 #976728 #289730
split-complementary
#285897 #973028 #909728
monochromatic
#0E2036 #1B3C67 #285897 #3574C7 #6495D6

Accessibility & contrast

On white

7.16
#285897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #285897
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285897#FFFFFF#000000##FFFFFF
##2858971.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5D99
Deuteranopia (green-blind)
#285396
Tritanopia (blue-blind)
#006770
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #285897;
/* rgb */ color: rgb(40, 88, 151);
/* oklch */ color: oklch(46.0% 0.115 256.3);
Tailwind
colors: {
  custom: {
    50: '#7186b6',
    500: '#285897',
    950: '#000000',
  },
}
SCSS
$custom: #285897;
$custom-light: #7186b6;
$custom-dark: #000000;
JSON
{
  "hex": "#285897",
  "rgb": {
    "r": 40,
    "g": 88,
    "b": 151
  },
  "hsl": {
    "h": 214.054,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46047,
    "c": 0.11533,
    "h": 256.3
  },
  "luminance": 0.09665
}

Semantic roles & 50–950 ramp

primary
#285897
secondary
#BC945F
accent
#9E46E1
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #285897

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

Preview Lab → · Contrast checker → · Palette generator →

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