#287798#287798

#287798 is a mid, moderate cyan. Relative luminance 0.159; OKLCH L 53.7% C 0.091 H 229.9°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#287798
RGBrgb(40, 119, 152)
HSLhsl(198, 58%, 38%)
HSVhsv(198, 74%, 60%)
CMYKcmyk(73.7%, 21.7%, 0%, 40.4%)
CIE-LABlab(46.86, -12.42, -24.71)
CIE-LCHlch(46.86, 27.65, 243.32°)
OKLaboklab(53.65% -0.0584 -0.0694)
OKLCHoklch(53.65% 0.091 229.9)
XYZxyz(13.1371, 15.9103, 32.0783)
Luminance0.1591 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287798 #984928
analogous
#289881 #287798 #283F98
triadic
#287798 #982877 #779828
tetradic
#287798 #812898 #984928 #3F9828
square
#287798 #812898 #984928 #3F9828
split-complementary
#287798 #98283F #988128
monochromatic
#0F2B37 #1B5168 #287798 #359DC8 #64B5D6

Accessibility & contrast

On white

5.02
#287798 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#287798 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287798
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287798#FFFFFF#000000##FFFFFF
##2877981.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#66759A
Deuteranopia (green-blind)
#576A98
Tritanopia (blue-blind)
#008082
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #287798;
/* rgb */ color: rgb(40, 119, 152);
/* oklch */ color: oklch(53.7% 0.091 229.9);
Tailwind
colors: {
  custom: {
    50: '#729eb6',
    500: '#287798',
    950: '#000000',
  },
}
SCSS
$custom: #287798;
$custom-light: #729eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#287798",
  "rgb": {
    "r": 40,
    "g": 119,
    "b": 152
  },
  "hsl": {
    "h": 197.679,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.53655,
    "c": 0.09065,
    "h": 229.9
  },
  "luminance": 0.15912
}

Semantic roles & 50–950 ramp

primary
#287798
secondary
#BC7B60
accent
#7446E2
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #287798

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

Preview Lab → · Contrast checker → · Palette generator →

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