#4082C2#4082C2

#4082C2 is a mid, moderate cyan. Relative luminance 0.209; OKLCH L 59.3% C 0.119 H 249.9°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#4082C2
RGBrgb(64, 130, 194)
HSLhsl(210, 52%, 51%)
HSVhsv(210, 67%, 76%)
CMYKcmyk(67%, 33%, 0%, 23.9%)
CIE-LABlab(52.89, -0.40, -39.56)
CIE-LCHlch(52.89, 39.56, 269.43°)
OKLaboklab(59.29% -0.041 -0.112)
OKLCHoklch(59.29% 0.119 249.9)
XYZxyz(19.8310, 20.9483, 54.0268)
Luminance0.2095 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4082C2 #C28040
analogous
#40C2C1 #4082C2 #4041C2
triadic
#4082C2 #C24082 #82C240
tetradic
#4082C2 #C140C2 #C28040 #41C240
square
#4082C2 #C140C2 #C28040 #41C240
split-complementary
#4082C2 #C24041 #C2C140
monochromatic
#214467 #306395 #4082C2 #6EA0D1 #9DBFE0

Accessibility & contrast

On white

4.05
#4082C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#4082C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4082C2
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4082C2#FFFFFF#000000##000000
##4082C21.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6685C5
Deuteranopia (green-blind)
#5479C1
Tritanopia (blue-blind)
#009199
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4082c2;
/* rgb */ color: rgb(64, 130, 194);
/* oklch */ color: oklch(59.3% 0.119 249.9);
Tailwind
colors: {
  custom: {
    50: '#82a6d5',
    500: '#4082c2',
    950: '#000000',
  },
}
SCSS
$custom: #4082c2;
$custom-light: #82a6d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4082c2",
  "rgb": {
    "r": 64,
    "g": 130,
    "b": 194
  },
  "hsl": {
    "h": 209.538,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59289,
    "c": 0.1193,
    "h": 249.9
  },
  "luminance": 0.2095
}

Semantic roles & 50–950 ramp

primary
#4082C2
secondary
#CCAE92
accent
#934DDB
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C0F14
muted
#7D7F83

Preview Lab

Preview with #4082C2

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

Preview Lab → · Contrast checker → · Palette generator →

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