#287287#287287

#287287 is a mid, moderate cyan. Relative luminance 0.142; OKLCH L 51.6% C 0.078 H 220.3°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#287287
RGBrgb(40, 114, 135)
HSLhsl(193, 54%, 34%)
HSVhsv(193, 70%, 53%)
CMYKcmyk(70.4%, 15.6%, 0%, 47.1%)
CIE-LABlab(44.57, -15.47, -18.16)
CIE-LCHlch(44.57, 23.85, 229.58°)
OKLaboklab(51.59% -0.0598 -0.0507)
OKLCHoklch(51.59% 0.078 220.3)
XYZxyz(11.2638, 14.2338, 25.0707)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287287 #873D28
analogous
#28876D #287287 #284387
triadic
#287287 #872872 #728728
tetradic
#287287 #6D2887 #873D28 #438728
square
#287287 #6D2887 #873D28 #438728
split-complementary
#287287 #872843 #876D28
monochromatic
#0C2229 #1A4A58 #287287 #369AB6 #5BB5CE

Accessibility & contrast

On white

5.46
#287287 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#287287 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287287
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287287#FFFFFF#000000##FFFFFF
##2872871.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#656F88
Deuteranopia (green-blind)
#586587
Tritanopia (blue-blind)
#007979
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #287287;
/* rgb */ color: rgb(40, 114, 135);
/* oklch */ color: oklch(51.6% 0.078 220.3);
Tailwind
colors: {
  custom: {
    50: '#6f9aaa',
    500: '#287287',
    950: '#000000',
  },
}
SCSS
$custom: #287287;
$custom-light: #6f9aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#287287",
  "rgb": {
    "r": 40,
    "g": 114,
    "b": 135
  },
  "hsl": {
    "h": 193.263,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.51588,
    "c": 0.07837,
    "h": 220.3
  },
  "luminance": 0.14235
}

Semantic roles & 50–950 ramp

primary
#287287
secondary
#B46C57
accent
#6B4ADE
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #287287

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

Preview Lab → · Contrast checker → · Palette generator →

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