#4087AC#4087AC

#4087AC is a mid, moderate cyan. Relative luminance 0.214; OKLCH L 59.3% C 0.091 H 233.9°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#4087AC
RGBrgb(64, 135, 172)
HSLhsl(201, 46%, 46%)
HSVhsv(201, 63%, 67%)
CMYKcmyk(62.8%, 21.5%, 0%, 32.5%)
CIE-LABlab(53.38, -10.74, -26.19)
CIE-LCHlch(53.38, 28.31, 247.70°)
OKLaboklab(59.34% -0.0534 -0.0733)
OKLCHoklch(59.34% 0.091 233.9)
XYZxyz(18.2219, 21.3947, 42.1910)
Luminance0.2140 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4087AC #AC6540
analogous
#40AC9B #4087AC #4051AC
triadic
#4087AC #AC4087 #87AC40
tetradic
#4087AC #9B40AC #AC6540 #51AC40
square
#4087AC #9B40AC #AC6540 #51AC40
split-complementary
#4087AC #AC4051 #AC9B40
monochromatic
#1F4153 #2F647F #4087AC #64A4C5 #91BED6

Accessibility & contrast

On white

3.98
#4087AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#4087AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4087AC
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4087AC#FFFFFF#000000##000000
##4087AC1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7586AE
Deuteranopia (green-blind)
#667BAB
Tritanopia (blue-blind)
#009193
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4087ac;
/* rgb */ color: rgb(64, 135, 172);
/* oklch */ color: oklch(59.3% 0.091 233.9);
Tailwind
colors: {
  custom: {
    50: '#7faac5',
    500: '#4087ac',
    950: '#000000',
  },
}
SCSS
$custom: #4087ac;
$custom-light: #7faac5;
$custom-dark: #000000;
JSON
{
  "hex": "#4087ac",
  "rgb": {
    "r": 64,
    "g": 135,
    "b": 172
  },
  "hsl": {
    "h": 200.556,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.59344,
    "c": 0.0907,
    "h": 233.9
  },
  "luminance": 0.21396
}

Semantic roles & 50–950 ramp

primary
#4087AC
secondary
#C19B87
accent
#7F52D5
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1012
muted
#7C7F81

Preview Lab

Preview with #4087AC

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

Preview Lab → · Contrast checker → · Palette generator →

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