#287197#287197

#287197 is a mid, moderate cyan. Relative luminance 0.145; OKLCH L 52.1% C 0.093 H 235.5°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#287197
RGBrgb(40, 113, 151)
HSLhsl(201, 58%, 37%)
HSVhsv(201, 74%, 59%)
CMYKcmyk(73.5%, 25.2%, 0%, 40.8%)
CIE-LABlab(44.93, -9.30, -27.10)
CIE-LCHlch(44.93, 28.65, 251.06°)
OKLaboklab(52.11% -0.0525 -0.0763)
OKLCHoklch(52.11% 0.093 235.5)
XYZxyz(12.3639, 14.4943, 31.4182)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287197 #974E28
analogous
#289786 #287197 #283997
triadic
#287197 #972871 #719728
tetradic
#287197 #862897 #974E28 #399728
square
#287197 #862897 #974E28 #399728
split-complementary
#287197 #972839 #978628
monochromatic
#0E2936 #1B4D67 #287197 #3595C7 #64AFD6

Accessibility & contrast

On white

5.39
#287197 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#287197 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287197
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287197#FFFFFF#000000##FFFFFF
##2871971.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F7099
Deuteranopia (green-blind)
#506696
Tritanopia (blue-blind)
#007B7E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #287197;
/* rgb */ color: rgb(40, 113, 151);
/* oklch */ color: oklch(52.1% 0.093 235.5);
Tailwind
colors: {
  custom: {
    50: '#7199b5',
    500: '#287197',
    950: '#000000',
  },
}
SCSS
$custom: #287197;
$custom-light: #7199b5;
$custom-dark: #000000;
JSON
{
  "hex": "#287197",
  "rgb": {
    "r": 40,
    "g": 113,
    "b": 151
  },
  "hsl": {
    "h": 200.541,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.52108,
    "c": 0.09264,
    "h": 235.5
  },
  "luminance": 0.14496
}

Semantic roles & 50–950 ramp

primary
#287197
secondary
#BC7F5F
accent
#7B46E1
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #287197

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

Preview Lab → · Contrast checker → · Palette generator →

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