#287698#287698

#287698 is a mid, moderate cyan. Relative luminance 0.157; OKLCH L 53.4% C 0.091 H 231.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#287698
RGBrgb(40, 118, 152)
HSLhsl(198, 58%, 38%)
HSVhsv(198, 74%, 60%)
CMYKcmyk(73.7%, 22.4%, 0%, 40.4%)
CIE-LABlab(46.54, -11.84, -25.19)
CIE-LCHlch(46.54, 27.84, 244.82°)
OKLaboklab(53.41% -0.0573 -0.0708)
OKLCHoklch(53.41% 0.091 231)
XYZxyz(13.0187, 15.6735, 32.0388)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287698 #984A28
analogous
#289882 #287698 #283E98
triadic
#287698 #982876 #769828
tetradic
#287698 #822898 #984A28 #3E9828
square
#287698 #822898 #984A28 #3E9828
split-complementary
#287698 #98283E #988228
monochromatic
#0F2B37 #1B5068 #287698 #359CC8 #64B4D6

Accessibility & contrast

On white

5.08
#287698 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#287698 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287698
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287698#FFFFFF#000000##FFFFFF
##2876981.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65749A
Deuteranopia (green-blind)
#566998
Tritanopia (blue-blind)
#007F81
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #287698;
/* rgb */ color: rgb(40, 118, 152);
/* oklch */ color: oklch(53.4% 0.091 231.0);
Tailwind
colors: {
  custom: {
    50: '#729db6',
    500: '#287698',
    950: '#000000',
  },
}
SCSS
$custom: #287698;
$custom-light: #729db6;
$custom-dark: #000000;
JSON
{
  "hex": "#287698",
  "rgb": {
    "r": 40,
    "g": 118,
    "b": 152
  },
  "hsl": {
    "h": 198.214,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.53405,
    "c": 0.09107,
    "h": 231
  },
  "luminance": 0.15675
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #287698

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

Preview Lab → · Contrast checker → · Palette generator →

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