#4082D2#4082D2

#4082D2 is a mid, vivid cyan. Relative luminance 0.217; OKLCH L 60.2% C 0.140 H 254.7°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#4082D2
RGBrgb(64, 130, 210)
HSLhsl(213, 62%, 54%)
HSVhsv(213, 70%, 82%)
CMYKcmyk(69.5%, 38.1%, 0%, 17.6%)
CIE-LABlab(53.71, 5.22, -47.34)
CIE-LCHlch(53.71, 47.63, 276.30°)
OKLaboklab(60.2% -0.0369 -0.1348)
OKLCHoklch(60.2% 0.14 254.7)
XYZxyz(21.7256, 21.7061, 64.0050)
Luminance0.2171 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4082D2 #D29040
analogous
#40CBD2 #4082D2 #4740D2
triadic
#4082D2 #D24082 #82D240
tetradic
#4082D2 #D240CB #D29040 #40D247
square
#4082D2 #D240CB #D29040 #40D247
split-complementary
#4082D2 #D24740 #CBD240
monochromatic
#1D477B #2964AC #4082D2 #72A2DE #A3C3E9

Accessibility & contrast

On white

3.93
#4082D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#4082D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4082D2
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4082D2#FFFFFF#000000##000000
##4082D21.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E88D5
Deuteranopia (green-blind)
#487AD0
Tritanopia (blue-blind)
#0095A0
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4082d2;
/* rgb */ color: rgb(64, 130, 210);
/* oklch */ color: oklch(60.2% 0.140 254.7);
Tailwind
colors: {
  custom: {
    50: '#85a5e0',
    500: '#4082d2',
    950: '#000000',
  },
}
SCSS
$custom: #4082d2;
$custom-light: #85a5e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4082d2",
  "rgb": {
    "r": 64,
    "g": 130,
    "b": 210
  },
  "hsl": {
    "h": 212.877,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60199,
    "c": 0.13975,
    "h": 254.7
  },
  "luminance": 0.21708
}

Semantic roles & 50–950 ramp

primary
#4082D2
secondary
#D6BA98
accent
#9C43E5
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #4082D2

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

Preview Lab → · Contrast checker → · Palette generator →

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