#287187#287187

#287187 is a mid, moderate cyan. Relative luminance 0.140; OKLCH L 51.3% C 0.078 H 221.6°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#287187
RGBrgb(40, 113, 135)
HSLhsl(194, 54%, 34%)
HSVhsv(194, 70%, 53%)
CMYKcmyk(70.4%, 16.3%, 0%, 47.1%)
CIE-LABlab(44.25, -14.91, -18.65)
CIE-LCHlch(44.25, 23.87, 231.36°)
OKLaboklab(51.33% -0.0587 -0.0521)
OKLCHoklch(51.33% 0.078 221.6)
XYZxyz(11.1516, 14.0094, 25.0333)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287187 #873E28
analogous
#28876E #287187 #284187
triadic
#287187 #872871 #718728
tetradic
#287187 #6E2887 #873E28 #418728
square
#287187 #6E2887 #873E28 #418728
split-complementary
#287187 #872841 #876E28
monochromatic
#0C2229 #1A4958 #287187 #3699B6 #5BB4CE

Accessibility & contrast

On white

5.52
#287187 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#287187 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287187
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287187#FFFFFF#000000##FFFFFF
##2871871.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#646E88
Deuteranopia (green-blind)
#576487
Tritanopia (blue-blind)
#007878
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #287187;
/* rgb */ color: rgb(40, 113, 135);
/* oklch */ color: oklch(51.3% 0.078 221.6);
Tailwind
colors: {
  custom: {
    50: '#6f9aaa',
    500: '#287187',
    950: '#000000',
  },
}
SCSS
$custom: #287187;
$custom-light: #6f9aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#287187",
  "rgb": {
    "r": 40,
    "g": 113,
    "b": 135
  },
  "hsl": {
    "h": 193.895,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.51332,
    "c": 0.07846,
    "h": 221.6
  },
  "luminance": 0.14011
}

Semantic roles & 50–950 ramp

primary
#287187
secondary
#B46D57
accent
#6C4ADE
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #287187

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

Preview Lab → · Contrast checker → · Palette generator →

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