#4087C1#4087C1

#4087C1 is a mid, moderate cyan. Relative luminance 0.223; OKLCH L 60.4% C 0.114 H 245.9°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#4087C1
RGBrgb(64, 135, 193)
HSLhsl(207, 51%, 50%)
HSVhsv(207, 67%, 76%)
CMYKcmyk(66.8%, 30.1%, 0%, 24.3%)
CIE-LABlab(54.31, -3.69, -36.76)
CIE-LCHlch(54.31, 36.94, 264.27°)
OKLaboklab(60.39% -0.0464 -0.1038)
OKLCHoklch(60.39% 0.114 245.9)
XYZxyz(20.4003, 22.2661, 53.6644)
Luminance0.2227 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4087C1 #C17A40
analogous
#40C1BB #4087C1 #4046C1
triadic
#4087C1 #C14087 #87C140
tetradic
#4087C1 #BB40C1 #C17A40 #46C140
square
#4087C1 #BB40C1 #C17A40 #46C140
split-complementary
#4087C1 #C14046 #C1BB40
monochromatic
#214766 #306794 #4087C1 #6EA4D0 #9CC1DF

Accessibility & contrast

On white

3.85
#4087C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#4087C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4087C1
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4087C1#FFFFFF#000000##000000
##4087C11.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D89C4
Deuteranopia (green-blind)
#5B7CC0
Tritanopia (blue-blind)
#00959B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4087c1;
/* rgb */ color: rgb(64, 135, 193);
/* oklch */ color: oklch(60.4% 0.114 245.9);
Tailwind
colors: {
  custom: {
    50: '#82a9d4',
    500: '#4087c1',
    950: '#000000',
  },
}
SCSS
$custom: #4087c1;
$custom-light: #82a9d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4087c1",
  "rgb": {
    "r": 64,
    "g": 135,
    "b": 193
  },
  "hsl": {
    "h": 206.977,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.60387,
    "c": 0.11374,
    "h": 245.9
  },
  "luminance": 0.22268
}

Semantic roles & 50–950 ramp

primary
#4087C1
secondary
#CBAC92
accent
#8D4DDA
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C0F14
muted
#7D7F83

Preview Lab

Preview with #4087C1

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

Preview Lab → · Contrast checker → · Palette generator →

#4087C1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva