#287996#287996

#287996 is a mid, moderate cyan. Relative luminance 0.163; OKLCH L 54.1% C 0.088 H 226.1°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#287996
RGBrgb(40, 121, 150)
HSLhsl(196, 58%, 37%)
HSVhsv(196, 73%, 59%)
CMYKcmyk(73.3%, 19.3%, 0%, 41.2%)
CIE-LABlab(47.40, -14.25, -22.69)
CIE-LCHlch(47.40, 26.79, 237.88°)
OKLaboklab(54.06% -0.0612 -0.0636)
OKLCHoklch(54.06% 0.088 226.1)
XYZxyz(13.2152, 16.3263, 31.3031)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287996 #964528
analogous
#28967C #287996 #284296
triadic
#287996 #962879 #799628
tetradic
#287996 #7C2896 #964528 #429628
square
#287996 #7C2896 #964528 #429628
split-complementary
#287996 #962842 #967C28
monochromatic
#0E2B35 #1B5266 #287996 #35A0C6 #63B7D5

Accessibility & contrast

On white

4.92
#287996 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#287996 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287996
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287996#FFFFFF#000000##FFFFFF
##2879961.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#697797
Deuteranopia (green-blind)
#5A6C96
Tritanopia (blue-blind)
#008182
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #287996;
/* rgb */ color: rgb(40, 121, 150);
/* oklch */ color: oklch(54.1% 0.088 226.1);
Tailwind
colors: {
  custom: {
    50: '#729fb5',
    500: '#287996',
    950: '#000000',
  },
}
SCSS
$custom: #287996;
$custom-light: #729fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#287996",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 150
  },
  "hsl": {
    "h": 195.818,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.54061,
    "c": 0.08824,
    "h": 226.1
  },
  "luminance": 0.16328
}

Semantic roles & 50–950 ramp

primary
#287996
secondary
#BB775F
accent
#6F47E1
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #287996

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

Preview Lab → · Contrast checker → · Palette generator →

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