#287794#287794

#287794 is a mid, moderate cyan. Relative luminance 0.158; OKLCH L 53.5% C 0.087 H 226.6°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#287794
RGBrgb(40, 119, 148)
HSLhsl(196, 57%, 37%)
HSVhsv(196, 73%, 58%)
CMYKcmyk(73%, 19.6%, 0%, 42%)
CIE-LABlab(46.69, -13.81, -22.61)
CIE-LCHlch(46.69, 26.50, 238.58°)
OKLaboklab(53.46% -0.0599 -0.0633)
OKLCHoklch(53.46% 0.087 226.6)
XYZxyz(12.8150, 15.7814, 30.3820)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287794 #944528
analogous
#28947B #287794 #284194
triadic
#287794 #942877 #779428
tetradic
#287794 #7B2894 #944528 #419428
square
#287794 #7B2894 #944528 #419428
split-complementary
#287794 #942841 #947B28
monochromatic
#0E2A34 #1B5064 #287794 #359EC4 #62B6D5

Accessibility & contrast

On white

5.05
#287794 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#287794 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287794
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287794#FFFFFF#000000##FFFFFF
##2877941.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677595
Deuteranopia (green-blind)
#596A94
Tritanopia (blue-blind)
#007F80
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #287794;
/* rgb */ color: rgb(40, 119, 148);
/* oklch */ color: oklch(53.5% 0.087 226.6);
Tailwind
colors: {
  custom: {
    50: '#719eb3',
    500: '#287794',
    950: '#000000',
  },
}
SCSS
$custom: #287794;
$custom-light: #719eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#287794",
  "rgb": {
    "r": 40,
    "g": 119,
    "b": 148
  },
  "hsl": {
    "h": 196.111,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.53463,
    "c": 0.08719,
    "h": 226.6
  },
  "luminance": 0.15783
}

Semantic roles & 50–950 ramp

primary
#287794
secondary
#BA765E
accent
#7047E1
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #287794

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

Preview Lab → · Contrast checker → · Palette generator →

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