#287796#287796

#287796 is a mid, moderate cyan. Relative luminance 0.158; OKLCH L 53.6% C 0.089 H 228.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#287796
RGBrgb(40, 119, 150)
HSLhsl(197, 58%, 37%)
HSVhsv(197, 73%, 59%)
CMYKcmyk(73.3%, 20.7%, 0%, 41.2%)
CIE-LABlab(46.77, -13.12, -23.66)
CIE-LCHlch(46.77, 27.05, 241.00°)
OKLaboklab(53.56% -0.0591 -0.0664)
OKLCHoklch(53.56% 0.089 228.3)
XYZxyz(12.9747, 15.8453, 31.2229)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287796 #964728
analogous
#28967E #287796 #284096
triadic
#287796 #962877 #779628
tetradic
#287796 #7E2896 #964728 #409628
square
#287796 #7E2896 #964728 #409628
split-complementary
#287796 #962840 #967E28
monochromatic
#0E2A35 #1B5166 #287796 #359DC6 #63B5D5

Accessibility & contrast

On white

5.04
#287796 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#287796 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287796
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287796#FFFFFF#000000##FFFFFF
##2877961.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677598
Deuteranopia (green-blind)
#586A96
Tritanopia (blue-blind)
#008081
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #287796;
/* rgb */ color: rgb(40, 119, 150);
/* oklch */ color: oklch(53.6% 0.089 228.3);
Tailwind
colors: {
  custom: {
    50: '#719eb5',
    500: '#287796',
    950: '#000000',
  },
}
SCSS
$custom: #287796;
$custom-light: #719eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#287796",
  "rgb": {
    "r": 40,
    "g": 119,
    "b": 150
  },
  "hsl": {
    "h": 196.909,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.53558,
    "c": 0.08887,
    "h": 228.3
  },
  "luminance": 0.15847
}

Semantic roles & 50–950 ramp

primary
#287796
secondary
#BB795F
accent
#7247E1
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #287796

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

Preview Lab → · Contrast checker → · Palette generator →

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