#287198#287198

#287198 is a mid, moderate cyan. Relative luminance 0.145; OKLCH L 52.2% C 0.094 H 236.2°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#287198
RGBrgb(40, 113, 152)
HSLhsl(201, 58%, 38%)
HSVhsv(201, 74%, 60%)
CMYKcmyk(73.7%, 25.7%, 0%, 40.4%)
CIE-LABlab(44.98, -8.94, -27.62)
CIE-LCHlch(44.98, 29.04, 252.06°)
OKLaboklab(52.16% -0.0522 -0.0778)
OKLCHoklch(52.16% 0.094 236.2)
XYZxyz(12.4455, 14.5269, 31.8477)
Luminance0.1453 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287198 #984F28
analogous
#289887 #287198 #283998
triadic
#287198 #982871 #719828
tetradic
#287198 #872898 #984F28 #399828
square
#287198 #872898 #984F28 #399828
split-complementary
#287198 #982839 #988728
monochromatic
#0F2937 #1B4D68 #287198 #3595C8 #64AFD6

Accessibility & contrast

On white

5.38
#287198 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#287198 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287198
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287198#FFFFFF#000000##FFFFFF
##2871981.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E709A
Deuteranopia (green-blind)
#4F6697
Tritanopia (blue-blind)
#007B7E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #287198;
/* rgb */ color: rgb(40, 113, 152);
/* oklch */ color: oklch(52.2% 0.094 236.2);
Tailwind
colors: {
  custom: {
    50: '#7199b6',
    500: '#287198',
    950: '#000000',
  },
}
SCSS
$custom: #287198;
$custom-light: #7199b6;
$custom-dark: #000000;
JSON
{
  "hex": "#287198",
  "rgb": {
    "r": 40,
    "g": 113,
    "b": 152
  },
  "hsl": {
    "h": 200.893,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.52159,
    "c": 0.09368,
    "h": 236.2
  },
  "luminance": 0.14528
}

Semantic roles & 50–950 ramp

primary
#287198
secondary
#BC8060
accent
#7C46E2
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #287198

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

Preview Lab → · Contrast checker → · Palette generator →

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