#287799#287799

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

Color values

HEX#287799
RGBrgb(40, 119, 153)
HSLhsl(198, 59%, 38%)
HSVhsv(198, 74%, 60%)
CMYKcmyk(73.9%, 22.2%, 0%, 40%)
CIE-LABlab(46.90, -12.06, -25.23)
CIE-LCHlch(46.90, 27.96, 244.44°)
OKLaboklab(53.7% -0.058 -0.0709)
OKLCHoklch(53.7% 0.092 230.7)
XYZxyz(13.2194, 15.9432, 32.5114)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287799 #994A28
analogous
#289982 #287799 #283F99
triadic
#287799 #992877 #779928
tetradic
#287799 #822899 #994A28 #3F9928
square
#287799 #822899 #994A28 #3F9928
split-complementary
#287799 #99283F #998228
monochromatic
#0F2C38 #1B5168 #287799 #359DCA #65B4D7

Accessibility & contrast

On white

5.01
#287799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#287799 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287799
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287799#FFFFFF#000000##FFFFFF
##2877991.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#66759B
Deuteranopia (green-blind)
#566A99
Tritanopia (blue-blind)
#008082
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #287799;
/* rgb */ color: rgb(40, 119, 153);
/* oklch */ color: oklch(53.7% 0.092 230.7);
Tailwind
colors: {
  custom: {
    50: '#729eb7',
    500: '#287799',
    950: '#000000',
  },
}
SCSS
$custom: #287799;
$custom-light: #729eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#287799",
  "rgb": {
    "r": 40,
    "g": 119,
    "b": 153
  },
  "hsl": {
    "h": 198.053,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.53704,
    "c": 0.09156,
    "h": 230.7
  },
  "luminance": 0.15945
}

Semantic roles & 50–950 ramp

primary
#287799
secondary
#BD7C60
accent
#7546E2
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #287799

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

Preview Lab → · Contrast checker → · Palette generator →

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