#4087B1#4087B1

#4087B1 is a mid, moderate cyan. Relative luminance 0.216; OKLCH L 59.6% C 0.096 H 237.4°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#4087B1
RGBrgb(64, 135, 177)
HSLhsl(202, 47%, 47%)
HSVhsv(202, 64%, 69%)
CMYKcmyk(63.8%, 23.7%, 0%, 30.6%)
CIE-LABlab(53.59, -9.09, -28.74)
CIE-LCHlch(53.59, 30.14, 252.44°)
OKLaboklab(59.58% -0.0516 -0.0806)
OKLCHoklch(59.58% 0.096 237.4)
XYZxyz(18.7111, 21.5904, 44.7677)
Luminance0.2159 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4087B1 #B16A40
analogous
#40B1A3 #4087B1 #404EB1
triadic
#4087B1 #B14087 #87B140
tetradic
#4087B1 #A340B1 #B16A40 #4EB140
square
#4087B1 #A340B1 #B16A40 #4EB140
split-complementary
#4087B1 #B1404E #B1A340
monochromatic
#1F4257 #306584 #4087B1 #66A4C8 #93BFD8

Accessibility & contrast

On white

3.95
#4087B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#4087B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4087B1
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4087B1#FFFFFF#000000##000000
##4087B11.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7386B3
Deuteranopia (green-blind)
#647BB0
Tritanopia (blue-blind)
#009295
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4087b1;
/* rgb */ color: rgb(64, 135, 177);
/* oklch */ color: oklch(59.6% 0.096 237.4);
Tailwind
colors: {
  custom: {
    50: '#80a9c8',
    500: '#4087b1',
    950: '#000000',
  },
}
SCSS
$custom: #4087b1;
$custom-light: #80a9c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4087b1",
  "rgb": {
    "r": 64,
    "g": 135,
    "b": 177
  },
  "hsl": {
    "h": 202.301,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.59582,
    "c": 0.09574,
    "h": 237.4
  },
  "luminance": 0.21592
}

Semantic roles & 50–950 ramp

primary
#4087B1
secondary
#C39F89
accent
#8351D7
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #4087B1

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

Preview Lab → · Contrast checker → · Palette generator →

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