#4082D5#4082D5

#4082D5 is a mid, vivid cyan. Relative luminance 0.219; OKLCH L 60.4% C 0.144 H 255.4°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#4082D5
RGBrgb(64, 130, 213)
HSLhsl(213, 64%, 54%)
HSVhsv(213, 70%, 84%)
CMYKcmyk(70%, 39%, 0%, 16.5%)
CIE-LABlab(53.87, 6.29, -48.78)
CIE-LCHlch(53.87, 49.18, 277.34°)
OKLaboklab(60.38% -0.0362 -0.139)
OKLCHoklch(60.38% 0.144 255.4)
XYZxyz(22.1028, 21.8570, 65.9919)
Luminance0.2186 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4082D5 #D59340
analogous
#40CCD5 #4082D5 #4940D5
triadic
#4082D5 #D54082 #82D540
tetradic
#4082D5 #D540CC #D59340 #40D549
square
#4082D5 #D540CC #D59340 #40D549
split-complementary
#4082D5 #D54940 #CCD540
monochromatic
#1C487F #2764B1 #4082D5 #72A3E0 #A4C4EB

Accessibility & contrast

On white

3.91
#4082D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#4082D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4082D5
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4082D5#FFFFFF#000000##000000
##4082D51.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C88D8
Deuteranopia (green-blind)
#457AD3
Tritanopia (blue-blind)
#0095A1
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4082d5;
/* rgb */ color: rgb(64, 130, 213);
/* oklch */ color: oklch(60.4% 0.144 255.4);
Tailwind
colors: {
  custom: {
    50: '#86a5e2',
    500: '#4082d5',
    950: '#000000',
  },
}
SCSS
$custom: #4082d5;
$custom-light: #86a5e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4082d5",
  "rgb": {
    "r": 64,
    "g": 130,
    "b": 213
  },
  "hsl": {
    "h": 213.423,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60377,
    "c": 0.14364,
    "h": 255.4
  },
  "luminance": 0.21859
}

Semantic roles & 50–950 ramp

primary
#4082D5
secondary
#D8BC99
accent
#9D41E7
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #4082D5

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

Preview Lab → · Contrast checker → · Palette generator →

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