#287EA2#287EA2

#287EA2 is a mid, moderate cyan. Relative luminance 0.180; OKLCH L 55.9% C 0.097 H 230.3°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#287EA2
RGBrgb(40, 126, 162)
HSLhsl(198, 60%, 40%)
HSVhsv(198, 75%, 64%)
CMYKcmyk(75.3%, 22.2%, 0%, 36.5%)
CIE-LABlab(49.47, -12.88, -26.51)
CIE-LCHlch(49.47, 29.47, 244.09°)
OKLaboklab(55.89% -0.0618 -0.0745)
OKLCHoklch(55.89% 0.097 230.3)
XYZxyz(14.8549, 17.9797, 36.8629)
Luminance0.1798 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287EA2 #A24C28
analogous
#28A289 #287EA2 #2841A2
triadic
#287EA2 #A2287E #7EA228
tetradic
#287EA2 #8928A2 #A24C28 #41A228
square
#287EA2 #8928A2 #A24C28 #41A228
split-complementary
#287EA2 #A22841 #A28928
monochromatic
#103240 #1C5871 #287EA2 #39A2CE #6AB9DA

Accessibility & contrast

On white

4.57
#287EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#287EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #287EA2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287EA2#FFFFFF#000000##000000
##287EA21.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7CA4
Deuteranopia (green-blind)
#5B70A1
Tritanopia (blue-blind)
#00888A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #287ea2;
/* rgb */ color: rgb(40, 126, 162);
/* oklch */ color: oklch(55.9% 0.097 230.3);
Tailwind
colors: {
  custom: {
    50: '#74a3bd',
    500: '#287ea2',
    950: '#000000',
  },
}
SCSS
$custom: #287ea2;
$custom-light: #74a3bd;
$custom-dark: #000000;
JSON
{
  "hex": "#287ea2",
  "rgb": {
    "r": 40,
    "g": 126,
    "b": 162
  },
  "hsl": {
    "h": 197.705,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.55885,
    "c": 0.09677,
    "h": 230.3
  },
  "luminance": 0.17981
}

Semantic roles & 50–950 ramp

primary
#287EA2
secondary
#C18065
accent
#7344E4
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #287EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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