#4087A4#4087A4

#4087A4 is a mid, moderate cyan. Relative luminance 0.211; OKLCH L 59.0% C 0.083 H 227.5°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#4087A4
RGBrgb(64, 135, 164)
HSLhsl(197, 44%, 45%)
HSVhsv(197, 61%, 64%)
CMYKcmyk(61%, 17.7%, 0%, 35.7%)
CIE-LABlab(53.06, -13.33, -22.08)
CIE-LCHlch(53.06, 25.79, 238.88°)
OKLaboklab(58.98% -0.0564 -0.0616)
OKLCHoklch(58.98% 0.083 227.5)
XYZxyz(17.4766, 21.0966, 38.2658)
Luminance0.2110 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4087A4 #A45D40
analogous
#40A48F #4087A4 #4055A4
triadic
#4087A4 #A44087 #87A440
tetradic
#4087A4 #8F40A4 #A45D40 #55A440
square
#4087A4 #8F40A4 #A45D40 #55A440
split-complementary
#4087A4 #A44055 #A48F40
monochromatic
#1E3F4C #2F6378 #4087A4 #60A5C1 #8CBED2

Accessibility & contrast

On white

4.02
#4087A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#4087A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4087A4
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4087A4#FFFFFF#000000##000000
##4087A41.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7885A5
Deuteranopia (green-blind)
#6A7AA4
Tritanopia (blue-blind)
#008F90
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4087a4;
/* rgb */ color: rgb(64, 135, 164);
/* oklch */ color: oklch(59.0% 0.083 227.5);
Tailwind
colors: {
  custom: {
    50: '#7eaabf',
    500: '#4087a4',
    950: '#000000',
  },
}
SCSS
$custom: #4087a4;
$custom-light: #7eaabf;
$custom-dark: #000000;
JSON
{
  "hex": "#4087a4",
  "rgb": {
    "r": 64,
    "g": 135,
    "b": 164
  },
  "hsl": {
    "h": 197.4,
    "s": 43.86,
    "l": 44.706
  },
  "oklch": {
    "l": 0.5898,
    "c": 0.08349,
    "h": 227.5
  },
  "luminance": 0.21098
}

Semantic roles & 50–950 ramp

primary
#4087A4
secondary
#BD9483
accent
#7954D4
background
#F8FAFB
surface
#EFF4F7
border
#CACED0
text
#0B1012
muted
#7C7F81

Preview Lab

Preview with #4087A4

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

Preview Lab → · Contrast checker → · Palette generator →

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