#287795#287795

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

Color values

HEX#287795
RGBrgb(40, 119, 149)
HSLhsl(197, 58%, 37%)
HSVhsv(197, 73%, 58%)
CMYKcmyk(73.2%, 20.1%, 0%, 41.6%)
CIE-LABlab(46.73, -13.46, -23.14)
CIE-LCHlch(46.73, 26.77, 239.80°)
OKLaboklab(53.51% -0.0595 -0.0648)
OKLCHoklch(53.51% 0.088 227.5)
XYZxyz(12.8945, 15.8132, 30.8006)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287795 #954628
analogous
#28957D #287795 #284095
triadic
#287795 #952877 #779528
tetradic
#287795 #7D2895 #954628 #409528
square
#287795 #7D2895 #954628 #409528
split-complementary
#287795 #952840 #957D28
monochromatic
#0E2A35 #1B5065 #287795 #359EC5 #62B5D5

Accessibility & contrast

On white

5.04
#287795 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #287795
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287795#FFFFFF#000000##FFFFFF
##2877951.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677596
Deuteranopia (green-blind)
#586A95
Tritanopia (blue-blind)
#008081
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #287795;
/* rgb */ color: rgb(40, 119, 149);
/* oklch */ color: oklch(53.5% 0.088 227.5);
Tailwind
colors: {
  custom: {
    50: '#719eb4',
    500: '#287795',
    950: '#000000',
  },
}
SCSS
$custom: #287795;
$custom-light: #719eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#287795",
  "rgb": {
    "r": 40,
    "g": 119,
    "b": 149
  },
  "hsl": {
    "h": 196.514,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.5351,
    "c": 0.08802,
    "h": 227.5
  },
  "luminance": 0.15815
}

Semantic roles & 50–950 ramp

primary
#287795
secondary
#BB785E
accent
#7147E1
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #287795

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

Preview Lab → · Contrast checker → · Palette generator →

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