#4082D4#4082D4

#4082D4 is a mid, vivid cyan. Relative luminance 0.218; OKLCH L 60.3% C 0.142 H 255.2°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#4082D4
RGBrgb(64, 130, 212)
HSLhsl(213, 63%, 54%)
HSVhsv(213, 70%, 83%)
CMYKcmyk(69.8%, 38.7%, 0%, 16.9%)
CIE-LABlab(53.82, 5.93, -48.30)
CIE-LCHlch(53.82, 48.66, 277.00°)
OKLaboklab(60.32% -0.0364 -0.1376)
OKLCHoklch(60.32% 0.142 255.2)
XYZxyz(21.9763, 21.8064, 65.3255)
Luminance0.2181 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4082D4 #D49240
analogous
#40CCD4 #4082D4 #4840D4
triadic
#4082D4 #D44082 #82D440
tetradic
#4082D4 #D440CC #D49240 #40D448
square
#4082D4 #D440CC #D49240 #40D448
split-complementary
#4082D4 #D44840 #CCD440
monochromatic
#1C487D #2764AF #4082D4 #72A3DF #A4C3EA

Accessibility & contrast

On white

3.92
#4082D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#4082D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4082D4
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4082D4#FFFFFF#000000##000000
##4082D41.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C88D7
Deuteranopia (green-blind)
#467AD2
Tritanopia (blue-blind)
#0095A1
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4082d4;
/* rgb */ color: rgb(64, 130, 212);
/* oklch */ color: oklch(60.3% 0.142 255.2);
Tailwind
colors: {
  custom: {
    50: '#85a5e1',
    500: '#4082d4',
    950: '#000000',
  },
}
SCSS
$custom: #4082d4;
$custom-light: #85a5e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4082d4",
  "rgb": {
    "r": 64,
    "g": 130,
    "b": 212
  },
  "hsl": {
    "h": 213.243,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60318,
    "c": 0.14234,
    "h": 255.2
  },
  "luminance": 0.21809
}

Semantic roles & 50–950 ramp

primary
#4082D4
secondary
#D7BB98
accent
#9D42E6
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #4082D4

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

Preview Lab → · Contrast checker → · Palette generator →

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