#287791#287791

#287791 is a mid, moderate cyan. Relative luminance 0.157; OKLCH L 53.3% C 0.085 H 223.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#287791
RGBrgb(40, 119, 145)
HSLhsl(195, 57%, 36%)
HSVhsv(195, 72%, 57%)
CMYKcmyk(72.4%, 17.9%, 0%, 43.1%)
CIE-LABlab(46.56, -14.85, -21.03)
CIE-LCHlch(46.56, 25.75, 234.78°)
OKLaboklab(53.32% -0.0611 -0.0588)
OKLCHoklch(53.32% 0.085 223.9)
XYZxyz(12.5806, 15.6877, 29.1476)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287791 #914228
analogous
#289177 #287791 #284391
triadic
#287791 #912877 #779128
tetradic
#287791 #772891 #914228 #439128
square
#287791 #772891 #914228 #439128
split-complementary
#287791 #912843 #917728
monochromatic
#0E2831 #1B5061 #287791 #359EC1 #60B7D3

Accessibility & contrast

On white

5.08
#287791 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#287791 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287791
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287791#FFFFFF#000000##FFFFFF
##2877911.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687492
Deuteranopia (green-blind)
#5A6A91
Tritanopia (blue-blind)
#007F7F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #287791;
/* rgb */ color: rgb(40, 119, 145);
/* oklch */ color: oklch(53.3% 0.085 223.9);
Tailwind
colors: {
  custom: {
    50: '#719eb1',
    500: '#287791',
    950: '#000000',
  },
}
SCSS
$custom: #287791;
$custom-light: #719eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#287791",
  "rgb": {
    "r": 40,
    "g": 119,
    "b": 145
  },
  "hsl": {
    "h": 194.857,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.53322,
    "c": 0.08481,
    "h": 223.9
  },
  "luminance": 0.15689
}

Semantic roles & 50–950 ramp

primary
#287791
secondary
#B9735C
accent
#6D48E0
background
#F7F9FA
surface
#EDF2F5
border
#C8CCCF
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #287791

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

Preview Lab → · Contrast checker → · Palette generator →

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