#287A9D#287A9D

#287A9D is a mid, moderate cyan. Relative luminance 0.168; OKLCH L 54.6% C 0.094 H 230.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#287A9D
RGBrgb(40, 122, 157)
HSLhsl(198, 59%, 39%)
HSVhsv(198, 75%, 62%)
CMYKcmyk(74.5%, 22.3%, 0%, 38.4%)
CIE-LABlab(48.01, -12.37, -25.86)
CIE-LCHlch(48.01, 28.66, 244.44°)
OKLaboklab(54.65% -0.0596 -0.0726)
OKLCHoklch(54.65% 0.094 230.7)
XYZxyz(13.9180, 16.8029, 34.4015)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287A9D #9D4B28
analogous
#289D85 #287A9D #283F9D
triadic
#287A9D #9D287A #7A9D28
tetradic
#287A9D #85289D #9D4B28 #3F9D28
square
#287A9D #85289D #9D4B28 #3F9D28
split-complementary
#287A9D #9D283F #9D8528
monochromatic
#0F2E3B #1C546C #287A9D #369FCC #67B6D8

Accessibility & contrast

On white

4.82
#287A9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#287A9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287A9D
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287A9D#FFFFFF#000000##FFFFFF
##287A9D1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68789F
Deuteranopia (green-blind)
#586D9C
Tritanopia (blue-blind)
#008486
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #287a9d;
/* rgb */ color: rgb(40, 122, 157);
/* oklch */ color: oklch(54.6% 0.094 230.7);
Tailwind
colors: {
  custom: {
    50: '#73a0ba',
    500: '#287a9d',
    950: '#000000',
  },
}
SCSS
$custom: #287a9d;
$custom-light: #73a0ba;
$custom-dark: #000000;
JSON
{
  "hex": "#287a9d",
  "rgb": {
    "r": 40,
    "g": 122,
    "b": 157
  },
  "hsl": {
    "h": 197.949,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.54648,
    "c": 0.09394,
    "h": 230.7
  },
  "luminance": 0.16805
}

Semantic roles & 50–950 ramp

primary
#287A9D
secondary
#BE7E62
accent
#7445E3
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #287A9D

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

Preview Lab → · Contrast checker → · Palette generator →

#287A9D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva