#4082D8#4082D8

#4082D8 is a mid, vivid cyan. Relative luminance 0.220; OKLCH L 60.6% C 0.148 H 256.1°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#4082D8
RGBrgb(64, 130, 216)
HSLhsl(214, 66%, 55%)
HSVhsv(214, 70%, 85%)
CMYKcmyk(70.4%, 39.8%, 0%, 15.3%)
CIE-LABlab(54.04, 7.35, -50.21)
CIE-LCHlch(54.04, 50.75, 278.33°)
OKLaboklab(60.56% -0.0355 -0.1432)
OKLCHoklch(60.56% 0.148 256.1)
XYZxyz(22.4871, 22.0107, 68.0158)
Luminance0.2201 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4082D8 #D89640
analogous
#40CED8 #4082D8 #4A40D8
triadic
#4082D8 #D84082 #82D840
tetradic
#4082D8 #D840CE #D89640 #40D84A
square
#4082D8 #D840CE #D89640 #40D84A
split-complementary
#4082D8 #D84A40 #CED840
monochromatic
#1B4883 #2564B6 #4082D8 #73A3E2 #A6C5ED

Accessibility & contrast

On white

3.89
#4082D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#4082D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4082D8
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4082D8#FFFFFF#000000##000000
##4082D81.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A89DB
Deuteranopia (green-blind)
#427BD6
Tritanopia (blue-blind)
#0096A2
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4082d8;
/* rgb */ color: rgb(64, 130, 216);
/* oklch */ color: oklch(60.6% 0.148 256.1);
Tailwind
colors: {
  custom: {
    50: '#86a5e4',
    500: '#4082d8',
    950: '#000000',
  },
}
SCSS
$custom: #4082d8;
$custom-light: #86a5e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4082d8",
  "rgb": {
    "r": 64,
    "g": 130,
    "b": 216
  },
  "hsl": {
    "h": 213.947,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60558,
    "c": 0.14754,
    "h": 256.1
  },
  "luminance": 0.22013
}

Semantic roles & 50–950 ramp

primary
#4082D8
secondary
#DABE9A
accent
#9F3FE9
background
#F8FAFE
surface
#F0F4FC
border
#CBCED5
text
#0D0F16
muted
#7D7F84

Preview Lab

Preview with #4082D8

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

Preview Lab → · Contrast checker → · Palette generator →

#4082D8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva