#287998#287998

#287998 is a mid, moderate cyan. Relative luminance 0.164; OKLCH L 54.2% C 0.090 H 227.8°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#287998
RGBrgb(40, 121, 152)
HSLhsl(197, 58%, 38%)
HSVhsv(197, 74%, 60%)
CMYKcmyk(73.7%, 20.4%, 0%, 40.4%)
CIE-LABlab(47.48, -13.55, -23.74)
CIE-LCHlch(47.48, 27.33, 240.28°)
OKLaboklab(54.16% -0.0604 -0.0666)
OKLCHoklch(54.16% 0.09 227.8)
XYZxyz(13.3776, 16.3913, 32.1585)
Luminance0.1639 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287998 #984728
analogous
#28987F #287998 #284198
triadic
#287998 #982879 #799828
tetradic
#287998 #7F2898 #984728 #419828
square
#287998 #7F2898 #984728 #419828
split-complementary
#287998 #982841 #987F28
monochromatic
#0F2C37 #1B5268 #287998 #35A0C8 #64B7D6

Accessibility & contrast

On white

4.91
#287998 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#287998 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287998
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287998#FFFFFF#000000##FFFFFF
##2879981.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#69779A
Deuteranopia (green-blind)
#596C98
Tritanopia (blue-blind)
#008283
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #287998;
/* rgb */ color: rgb(40, 121, 152);
/* oklch */ color: oklch(54.2% 0.090 227.8);
Tailwind
colors: {
  custom: {
    50: '#729fb6',
    500: '#287998',
    950: '#000000',
  },
}
SCSS
$custom: #287998;
$custom-light: #729fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#287998",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 152
  },
  "hsl": {
    "h": 196.607,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.54156,
    "c": 0.0899,
    "h": 227.8
  },
  "luminance": 0.16393
}

Semantic roles & 50–950 ramp

primary
#287998
secondary
#BC7960
accent
#7146E2
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #287998

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

Preview Lab → · Contrast checker → · Palette generator →

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