#287BA2#287BA2

#287BA2 is a mid, moderate cyan. Relative luminance 0.172; OKLCH L 55.1% C 0.098 H 233.3°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#287BA2
RGBrgb(40, 123, 162)
HSLhsl(199, 60%, 40%)
HSVhsv(199, 75%, 64%)
CMYKcmyk(75.3%, 24.1%, 0%, 36.5%)
CIE-LABlab(48.54, -11.17, -27.96)
CIE-LCHlch(48.54, 30.11, 248.22°)
OKLaboklab(55.14% -0.0587 -0.0787)
OKLCHoklch(55.14% 0.098 233.3)
XYZxyz(14.4770, 17.2240, 36.7370)
Luminance0.1723 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287BA2 #A24F28
analogous
#28A28C #287BA2 #283EA2
triadic
#287BA2 #A2287B #7BA228
tetradic
#287BA2 #8C28A2 #A24F28 #3EA228
square
#287BA2 #8C28A2 #A24F28 #3EA228
split-complementary
#287BA2 #A2283E #A28C28
monochromatic
#103040 #1C5671 #287BA2 #399ECE #6AB6DA

Accessibility & contrast

On white

4.72
#287BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#287BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287BA2
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287BA2#FFFFFF#000000##FFFFFF
##287BA21.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687AA4
Deuteranopia (green-blind)
#576EA1
Tritanopia (blue-blind)
#008588
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #287ba2;
/* rgb */ color: rgb(40, 123, 162);
/* oklch */ color: oklch(55.1% 0.098 233.3);
Tailwind
colors: {
  custom: {
    50: '#74a1bd',
    500: '#287ba2',
    950: '#000000',
  },
}
SCSS
$custom: #287ba2;
$custom-light: #74a1bd;
$custom-dark: #000000;
JSON
{
  "hex": "#287ba2",
  "rgb": {
    "r": 40,
    "g": 123,
    "b": 162
  },
  "hsl": {
    "h": 199.18,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.55143,
    "c": 0.0982,
    "h": 233.3
  },
  "luminance": 0.17226
}

Semantic roles & 50–950 ramp

primary
#287BA2
secondary
#C18265
accent
#7744E4
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #287BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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