#287899#287899

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

Color values

HEX#287899
RGBrgb(40, 120, 153)
HSLhsl(198, 59%, 38%)
HSVhsv(198, 74%, 60%)
CMYKcmyk(73.9%, 21.6%, 0%, 40%)
CIE-LABlab(47.21, -12.63, -24.74)
CIE-LCHlch(47.21, 27.78, 242.95°)
OKLaboklab(53.95% -0.059 -0.0695)
OKLCHoklch(53.95% 0.091 229.6)
XYZxyz(13.3390, 16.1824, 32.5513)
Luminance0.1618 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287899 #994928
analogous
#289981 #287899 #284099
triadic
#287899 #992878 #789928
tetradic
#287899 #812899 #994928 #409928
square
#287899 #812899 #994928 #409928
split-complementary
#287899 #992840 #998128
monochromatic
#0F2C38 #1B5268 #287899 #359ECA #65B5D7

Accessibility & contrast

On white

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

On black

4.24
#287899 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##287899#FFFFFF#000000##FFFFFF
##2878991.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #287899;
/* rgb */ color: rgb(40, 120, 153);
/* oklch */ color: oklch(54.0% 0.091 229.6);
Tailwind
colors: {
  custom: {
    50: '#729fb7',
    500: '#287899',
    950: '#000000',
  },
}
SCSS
$custom: #287899;
$custom-light: #729fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#287899",
  "rgb": {
    "r": 40,
    "g": 120,
    "b": 153
  },
  "hsl": {
    "h": 197.522,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.53954,
    "c": 0.09115,
    "h": 229.6
  },
  "luminance": 0.16184
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #287899

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

Preview Lab → · Contrast checker → · Palette generator →

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