#287898#287898

#287898 is a mid, moderate cyan. Relative luminance 0.162; OKLCH L 53.9% C 0.090 H 228.8°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#287898
RGBrgb(40, 120, 152)
HSLhsl(197, 58%, 38%)
HSVhsv(197, 74%, 60%)
CMYKcmyk(73.7%, 21.1%, 0%, 40.4%)
CIE-LABlab(47.17, -12.98, -24.22)
CIE-LCHlch(47.17, 27.48, 241.81°)
OKLaboklab(53.91% -0.0594 -0.068)
OKLCHoklch(53.91% 0.09 228.8)
XYZxyz(13.2567, 16.1495, 32.1182)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287898 #984828
analogous
#289880 #287898 #284098
triadic
#287898 #982878 #789828
tetradic
#287898 #802898 #984828 #409828
square
#287898 #802898 #984828 #409828
split-complementary
#287898 #982840 #988028
monochromatic
#0F2B37 #1B5268 #287898 #359EC8 #64B6D6

Accessibility & contrast

On white

4.96
#287898 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#287898 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287898
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287898#FFFFFF#000000##FFFFFF
##2878981.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#67769A
Deuteranopia (green-blind)
#586B98
Tritanopia (blue-blind)
#008183
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #287898;
/* rgb */ color: rgb(40, 120, 152);
/* oklch */ color: oklch(53.9% 0.090 228.8);
Tailwind
colors: {
  custom: {
    50: '#729fb6',
    500: '#287898',
    950: '#000000',
  },
}
SCSS
$custom: #287898;
$custom-light: #729fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#287898",
  "rgb": {
    "r": 40,
    "g": 120,
    "b": 152
  },
  "hsl": {
    "h": 197.143,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.53905,
    "c": 0.09026,
    "h": 228.8
  },
  "luminance": 0.16151
}

Semantic roles & 50–950 ramp

primary
#287898
secondary
#BC7A60
accent
#7346E2
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #287898

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

Preview Lab → · Contrast checker → · Palette generator →

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