#287387#287387

#287387 is a mid, moderate cyan. Relative luminance 0.145; OKLCH L 51.8% C 0.078 H 219.0°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#287387
RGBrgb(40, 115, 135)
HSLhsl(193, 54%, 34%)
HSVhsv(193, 70%, 53%)
CMYKcmyk(70.4%, 14.8%, 0%, 47.1%)
CIE-LABlab(44.89, -16.03, -17.67)
CIE-LCHlch(44.89, 23.85, 227.79°)
OKLaboklab(51.85% -0.0609 -0.0493)
OKLCHoklch(51.85% 0.078 219)
XYZxyz(11.3772, 14.4606, 25.1085)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287387 #873C28
analogous
#28876C #287387 #284387
triadic
#287387 #872873 #738728
tetradic
#287387 #6C2887 #873C28 #438728
square
#287387 #6C2887 #873C28 #438728
split-complementary
#287387 #872843 #876C28
monochromatic
#0C2329 #1A4B58 #287387 #369BB6 #5BB6CE

Accessibility & contrast

On white

5.40
#287387 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#287387 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287387
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287387#FFFFFF#000000##FFFFFF
##2873871.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#667088
Deuteranopia (green-blind)
#596687
Tritanopia (blue-blind)
#007A79
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #287387;
/* rgb */ color: rgb(40, 115, 135);
/* oklch */ color: oklch(51.8% 0.078 219.0);
Tailwind
colors: {
  custom: {
    50: '#6f9baa',
    500: '#287387',
    950: '#000000',
  },
}
SCSS
$custom: #287387;
$custom-light: #6f9baa;
$custom-dark: #000000;
JSON
{
  "hex": "#287387",
  "rgb": {
    "r": 40,
    "g": 115,
    "b": 135
  },
  "hsl": {
    "h": 192.632,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.51845,
    "c": 0.07832,
    "h": 219
  },
  "luminance": 0.14462
}

Semantic roles & 50–950 ramp

primary
#287387
secondary
#B46B57
accent
#694ADE
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #287387

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

Preview Lab → · Contrast checker → · Palette generator →

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