#287098#287098

#287098 is a mid, moderate cyan. Relative luminance 0.143; OKLCH L 51.9% C 0.094 H 237.2°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#287098
RGBrgb(40, 112, 152)
HSLhsl(201, 58%, 38%)
HSVhsv(201, 74%, 60%)
CMYKcmyk(73.7%, 26.3%, 0%, 40.4%)
CIE-LABlab(44.67, -8.36, -28.11)
CIE-LCHlch(44.67, 29.33, 253.45°)
OKLaboklab(51.91% -0.0511 -0.0792)
OKLCHoklch(51.91% 0.094 237.2)
XYZxyz(12.3345, 14.3051, 31.8108)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287098 #985028
analogous
#289888 #287098 #283898
triadic
#287098 #982870 #709828
tetradic
#287098 #882898 #985028 #389828
square
#287098 #882898 #985028 #389828
split-complementary
#287098 #982838 #988828
monochromatic
#0F2937 #1B4C68 #287098 #3594C8 #64ADD6

Accessibility & contrast

On white

5.44
#287098 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#287098 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287098
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287098#FFFFFF#000000##FFFFFF
##2870981.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D709A
Deuteranopia (green-blind)
#4E6597
Tritanopia (blue-blind)
#007A7E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #287098;
/* rgb */ color: rgb(40, 112, 152);
/* oklch */ color: oklch(51.9% 0.094 237.2);
Tailwind
colors: {
  custom: {
    50: '#7199b6',
    500: '#287098',
    950: '#000000',
  },
}
SCSS
$custom: #287098;
$custom-light: #7199b6;
$custom-dark: #000000;
JSON
{
  "hex": "#287098",
  "rgb": {
    "r": 40,
    "g": 112,
    "b": 152
  },
  "hsl": {
    "h": 201.429,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.51911,
    "c": 0.0943,
    "h": 237.2
  },
  "luminance": 0.14306
}

Semantic roles & 50–950 ramp

primary
#287098
secondary
#BC8160
accent
#7E46E2
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #287098

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

Preview Lab → · Contrast checker → · Palette generator →

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