#4087C3#4087C3

#4087C3 is a mid, moderate cyan. Relative luminance 0.224; OKLCH L 60.5% C 0.116 H 246.8°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#4087C3
RGBrgb(64, 135, 195)
HSLhsl(207, 52%, 51%)
HSVhsv(207, 67%, 76%)
CMYKcmyk(67.2%, 30.8%, 0%, 23.5%)
CIE-LABlab(54.40, -3.00, -37.75)
CIE-LCHlch(54.40, 37.87, 265.46°)
OKLaboklab(60.49% -0.0458 -0.1067)
OKLCHoklch(60.49% 0.116 246.8)
XYZxyz(20.6250, 22.3559, 54.8473)
Luminance0.2236 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4087C3 #C37C40
analogous
#40C3BD #4087C3 #4045C3
triadic
#4087C3 #C34087 #87C340
tetradic
#4087C3 #BD40C3 #C37C40 #45C340
square
#4087C3 #BD40C3 #C37C40 #45C340
split-complementary
#4087C3 #C34045 #C3BD40
monochromatic
#214768 #2F6797 #4087C3 #6FA4D2 #9DC2E0

Accessibility & contrast

On white

3.84
#4087C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#4087C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4087C3
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4087C3#FFFFFF#000000##000000
##4087C31.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C89C6
Deuteranopia (green-blind)
#5A7CC2
Tritanopia (blue-blind)
#00959C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4087c3;
/* rgb */ color: rgb(64, 135, 195);
/* oklch */ color: oklch(60.5% 0.116 246.8);
Tailwind
colors: {
  custom: {
    50: '#83a9d5',
    500: '#4087c3',
    950: '#000000',
  },
}
SCSS
$custom: #4087c3;
$custom-light: #83a9d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4087c3",
  "rgb": {
    "r": 64,
    "g": 135,
    "b": 195
  },
  "hsl": {
    "h": 207.481,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.60492,
    "c": 0.11614,
    "h": 246.8
  },
  "luminance": 0.22358
}

Semantic roles & 50–950 ramp

primary
#4087C3
secondary
#CCAD92
accent
#8E4CDC
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C0F14
muted
#7D7F83

Preview Lab

Preview with #4087C3

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

Preview Lab → · Contrast checker → · Palette generator →

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