#287CA2#287CA2

#287CA2 is a mid, moderate cyan. Relative luminance 0.175; OKLCH L 55.4% C 0.098 H 232.3°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#287CA2
RGBrgb(40, 124, 162)
HSLhsl(199, 60%, 40%)
HSVhsv(199, 75%, 64%)
CMYKcmyk(75.3%, 23.5%, 0%, 36.5%)
CIE-LABlab(48.85, -11.74, -27.47)
CIE-LCHlch(48.85, 29.88, 246.86°)
OKLaboklab(55.39% -0.0597 -0.0773)
OKLCHoklch(55.39% 0.098 232.3)
XYZxyz(14.6017, 17.4733, 36.7785)
Luminance0.1747 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287CA2 #A24E28
analogous
#28A28B #287CA2 #283FA2
triadic
#287CA2 #A2287C #7CA228
tetradic
#287CA2 #8B28A2 #A24E28 #3FA228
square
#287CA2 #8B28A2 #A24E28 #3FA228
split-complementary
#287CA2 #A2283F #A28B28
monochromatic
#103140 #1C5671 #287CA2 #39A0CE #6AB7DA

Accessibility & contrast

On white

4.67
#287CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#287CA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #287CA2
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287CA2#FFFFFF#000000##FFFFFF
##287CA21.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#697BA4
Deuteranopia (green-blind)
#596FA1
Tritanopia (blue-blind)
#008689
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #287ca2;
/* rgb */ color: rgb(40, 124, 162);
/* oklch */ color: oklch(55.4% 0.098 232.3);
Tailwind
colors: {
  custom: {
    50: '#74a1bd',
    500: '#287ca2',
    950: '#000000',
  },
}
SCSS
$custom: #287ca2;
$custom-light: #74a1bd;
$custom-dark: #000000;
JSON
{
  "hex": "#287ca2",
  "rgb": {
    "r": 40,
    "g": 124,
    "b": 162
  },
  "hsl": {
    "h": 198.689,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.5539,
    "c": 0.09769,
    "h": 232.3
  },
  "luminance": 0.17475
}

Semantic roles & 50–950 ramp

primary
#287CA2
secondary
#C18265
accent
#7644E4
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090F12
muted
#7B7E81

Preview Lab

Preview with #287CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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