#287391#287391

#287391 is a mid, moderate cyan. Relative luminance 0.148; OKLCH L 52.3% C 0.086 H 228.6°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#287391
RGBrgb(40, 115, 145)
HSLhsl(197, 57%, 36%)
HSVhsv(197, 72%, 57%)
CMYKcmyk(72.4%, 20.7%, 0%, 43.1%)
CIE-LABlab(45.30, -12.58, -22.98)
CIE-LCHlch(45.30, 26.20, 241.30°)
OKLaboklab(52.31% -0.0568 -0.0644)
OKLCHoklch(52.31% 0.086 228.6)
XYZxyz(12.1146, 14.7555, 28.9922)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287391 #914628
analogous
#28917B #287391 #283F91
triadic
#287391 #912873 #739128
tetradic
#287391 #7B2891 #914628 #3F9128
square
#287391 #7B2891 #914628 #3F9128
split-complementary
#287391 #91283F #917B28
monochromatic
#0E2731 #1B4D61 #287391 #3599C1 #60B2D3

Accessibility & contrast

On white

5.31
#287391 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#287391 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287391
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287391#FFFFFF#000000##FFFFFF
##2873911.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#637192
Deuteranopia (green-blind)
#556791
Tritanopia (blue-blind)
#007B7D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #287391;
/* rgb */ color: rgb(40, 115, 145);
/* oklch */ color: oklch(52.3% 0.086 228.6);
Tailwind
colors: {
  custom: {
    50: '#709bb1',
    500: '#287391',
    950: '#000000',
  },
}
SCSS
$custom: #287391;
$custom-light: #709bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#287391",
  "rgb": {
    "r": 40,
    "g": 115,
    "b": 145
  },
  "hsl": {
    "h": 197.143,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.5231,
    "c": 0.08593,
    "h": 228.6
  },
  "luminance": 0.14757
}

Semantic roles & 50–950 ramp

primary
#287391
secondary
#B9775C
accent
#7348E0
background
#F7F9FA
surface
#EDF2F5
border
#C8CCCF
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #287391

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

Preview Lab → · Contrast checker → · Palette generator →

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