#287191#287191

#287191 is a mid, moderate cyan. Relative luminance 0.143; OKLCH L 51.8% C 0.087 H 230.9°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#287191
RGBrgb(40, 113, 145)
HSLhsl(198, 57%, 36%)
HSVhsv(198, 72%, 57%)
CMYKcmyk(72.4%, 22.1%, 0%, 43.1%)
CIE-LABlab(44.67, -11.44, -23.96)
CIE-LCHlch(44.67, 26.55, 244.48°)
OKLaboklab(51.81% -0.0547 -0.0672)
OKLCHoklch(51.81% 0.087 230.9)
XYZxyz(11.8890, 14.3044, 28.9170)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287191 #914828
analogous
#28917D #287191 #283D91
triadic
#287191 #912871 #719128
tetradic
#287191 #7D2891 #914828 #3D9128
square
#287191 #7D2891 #914828 #3D9128
split-complementary
#287191 #91283D #917D28
monochromatic
#0E2631 #1B4C61 #287191 #3596C1 #60B0D3

Accessibility & contrast

On white

5.44
#287191 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#287191 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287191
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287191#FFFFFF#000000##FFFFFF
##2871911.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#616F93
Deuteranopia (green-blind)
#526591
Tritanopia (blue-blind)
#007A7C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #287191;
/* rgb */ color: rgb(40, 113, 145);
/* oklch */ color: oklch(51.8% 0.087 230.9);
Tailwind
colors: {
  custom: {
    50: '#7099b1',
    500: '#287191',
    950: '#000000',
  },
}
SCSS
$custom: #287191;
$custom-light: #7099b1;
$custom-dark: #000000;
JSON
{
  "hex": "#287191",
  "rgb": {
    "r": 40,
    "g": 113,
    "b": 145
  },
  "hsl": {
    "h": 198.286,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.51806,
    "c": 0.08671,
    "h": 230.9
  },
  "luminance": 0.14306
}

Semantic roles & 50–950 ramp

primary
#287191
secondary
#B9785C
accent
#7648E0
background
#F7F9FA
surface
#EDF2F5
border
#C8CCCF
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #287191

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

Preview Lab → · Contrast checker → · Palette generator →

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