#4082CC#4082CC

#4082CC is a mid, vivid cyan. Relative luminance 0.214; OKLCH L 59.9% C 0.132 H 253.1°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#4082CC
RGBrgb(64, 130, 204)
HSLhsl(212, 58%, 53%)
HSVhsv(212, 69%, 80%)
CMYKcmyk(68.6%, 36.3%, 0%, 20%)
CIE-LABlab(53.40, 3.10, -44.45)
CIE-LCHlch(53.40, 44.55, 273.99°)
OKLaboklab(59.85% -0.0383 -0.1263)
OKLCHoklch(59.85% 0.132 253.1)
XYZxyz(20.9920, 21.4127, 60.1418)
Luminance0.2142 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4082CC #CC8A40
analogous
#40C8CC #4082CC #4440CC
triadic
#4082CC #CC4082 #82CC40
tetradic
#4082CC #CC40C8 #CC8A40 #40CC44
square
#4082CC #CC40C8 #CC8A40 #40CC44
split-complementary
#4082CC #CC4440 #C8CC40
monochromatic
#1F4673 #2C64A3 #4082CC #70A2D9 #A1C1E6

Accessibility & contrast

On white

3.98
#4082CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#4082CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4082CC
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4082CC#FFFFFF#000000##000000
##4082CC1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6187CF
Deuteranopia (green-blind)
#4D7ACB
Tritanopia (blue-blind)
#00939D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4082cc;
/* rgb */ color: rgb(64, 130, 204);
/* oklch */ color: oklch(59.9% 0.132 253.1);
Tailwind
colors: {
  custom: {
    50: '#84a5dc',
    500: '#4082cc',
    950: '#000000',
  },
}
SCSS
$custom: #4082cc;
$custom-light: #84a5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4082cc",
  "rgb": {
    "r": 64,
    "g": 130,
    "b": 204
  },
  "hsl": {
    "h": 211.714,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5985,
    "c": 0.13201,
    "h": 253.1
  },
  "luminance": 0.21415
}

Semantic roles & 50–950 ramp

primary
#4082CC
secondary
#D2B695
accent
#9847E1
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #4082CC

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

Preview Lab → · Contrast checker → · Palette generator →

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