#4287B2#4287B2

#4287B2 is a mid, moderate cyan. Relative luminance 0.217; OKLCH L 59.7% C 0.096 H 238.6°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#4287B2
RGBrgb(66, 135, 178)
HSLhsl(203, 46%, 48%)
HSVhsv(203, 63%, 70%)
CMYKcmyk(62.9%, 24.2%, 0%, 30.2%)
CIE-LABlab(53.71, -8.39, -29.12)
CIE-LCHlch(53.71, 30.31, 253.93°)
OKLaboklab(59.71% -0.0499 -0.0817)
OKLCHoklch(59.71% 0.096 238.6)
XYZxyz(18.9436, 21.6987, 45.3008)
Luminance0.2170 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4287B2 #B26D42
analogous
#42B2A5 #4287B2 #424FB2
triadic
#4287B2 #B24287 #87B242
tetradic
#4287B2 #A542B2 #B26D42 #4FB242
square
#4287B2 #A542B2 #B26D42 #4FB242
split-complementary
#4287B2 #B2424F #B2A542
monochromatic
#214359 #316585 #4287B2 #6AA4C8 #96BFD8

Accessibility & contrast

On white

3.93
#4287B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#4287B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4287B2
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4287B2#FFFFFF#000000##000000
##4287B21.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7387B4
Deuteranopia (green-blind)
#647BB1
Tritanopia (blue-blind)
#009296
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4287b2;
/* rgb */ color: rgb(66, 135, 178);
/* oklch */ color: oklch(59.7% 0.096 238.6);
Tailwind
colors: {
  custom: {
    50: '#81a9c9',
    500: '#4287b2',
    950: '#000000',
  },
}
SCSS
$custom: #4287b2;
$custom-light: #81a9c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4287b2",
  "rgb": {
    "r": 66,
    "g": 135,
    "b": 178
  },
  "hsl": {
    "h": 203.036,
    "s": 45.902,
    "l": 47.843
  },
  "oklch": {
    "l": 0.59708,
    "c": 0.09575,
    "h": 238.6
  },
  "luminance": 0.21701
}

Semantic roles & 50–950 ramp

primary
#4287B2
secondary
#C4A18C
accent
#8552D6
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #4287B2

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

Preview Lab → · Contrast checker → · Palette generator →

#4287B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva