#4087B3#4087B3

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

Color values

HEX#4087B3
RGBrgb(64, 135, 179)
HSLhsl(203, 47%, 48%)
HSVhsv(203, 64%, 70%)
CMYKcmyk(64.2%, 24.6%, 0%, 29.8%)
CIE-LABlab(53.68, -8.43, -29.75)
CIE-LCHlch(53.68, 30.92, 254.19°)
OKLaboklab(59.68% -0.0509 -0.0835)
OKLCHoklch(59.68% 0.098 238.6)
XYZxyz(18.9119, 21.6707, 45.8253)
Luminance0.2167 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4087B3 #B36C40
analogous
#40B3A6 #4087B3 #404DB3
triadic
#4087B3 #B34087 #87B340
tetradic
#4087B3 #A640B3 #B36C40 #4DB340
square
#4087B3 #A640B3 #B36C40 #4DB340
split-complementary
#4087B3 #B3404D #B3A640
monochromatic
#204359 #306586 #4087B3 #67A4C9 #94BFD9

Accessibility & contrast

On white

3.94
#4087B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#4087B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4087B3
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4087B3#FFFFFF#000000##000000
##4087B31.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7387B5
Deuteranopia (green-blind)
#637BB2
Tritanopia (blue-blind)
#009296
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4087b3;
/* rgb */ color: rgb(64, 135, 179);
/* oklch */ color: oklch(59.7% 0.098 238.6);
Tailwind
colors: {
  custom: {
    50: '#80a9ca',
    500: '#4087b3',
    950: '#000000',
  },
}
SCSS
$custom: #4087b3;
$custom-light: #80a9ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4087b3",
  "rgb": {
    "r": 64,
    "g": 135,
    "b": 179
  },
  "hsl": {
    "h": 202.957,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.59678,
    "c": 0.09785,
    "h": 238.6
  },
  "luminance": 0.21673
}

Semantic roles & 50–950 ramp

primary
#4087B3
secondary
#C4A18A
accent
#8451D7
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #4087B3

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

Preview Lab → · Contrast checker → · Palette generator →

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