#4082CB#4082CB

#4082CB is a mid, vivid cyan. Relative luminance 0.214; OKLCH L 59.8% C 0.131 H 252.8°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#4082CB
RGBrgb(64, 130, 203)
HSLhsl(212, 57%, 52%)
HSVhsv(212, 68%, 80%)
CMYKcmyk(68.5%, 36%, 0%, 20.4%)
CIE-LABlab(53.35, 2.75, -43.96)
CIE-LCHlch(53.35, 44.05, 273.58°)
OKLaboklab(59.79% -0.0386 -0.1249)
OKLCHoklch(59.79% 0.131 252.8)
XYZxyz(20.8725, 21.3649, 59.5122)
Luminance0.2137 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4082CB #CB8940
analogous
#40C7CB #4082CB #4440CB
triadic
#4082CB #CB4082 #82CB40
tetradic
#4082CB #CB40C7 #CB8940 #40CB44
square
#4082CB #CB40C7 #CB8940 #40CB44
split-complementary
#4082CB #CB4440 #C7CB40
monochromatic
#1F4672 #2C64A2 #4082CB #70A1D8 #A0C1E5

Accessibility & contrast

On white

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

On black

5.27
#4082CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4082CB
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4082CB#FFFFFF#000000##000000
##4082CB1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6187CE
Deuteranopia (green-blind)
#4D79CA
Tritanopia (blue-blind)
#00939D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4082cb;
/* rgb */ color: rgb(64, 130, 203);
/* oklch */ color: oklch(59.8% 0.131 252.8);
Tailwind
colors: {
  custom: {
    50: '#84a5db',
    500: '#4082cb',
    950: '#000000',
  },
}
SCSS
$custom: #4082cb;
$custom-light: #84a5db;
$custom-dark: #000000;
JSON
{
  "hex": "#4082cb",
  "rgb": {
    "r": 64,
    "g": 130,
    "b": 203
  },
  "hsl": {
    "h": 211.511,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59793,
    "c": 0.13073,
    "h": 252.8
  },
  "luminance": 0.21367
}

Semantic roles & 50–950 ramp

primary
#4082CB
secondary
#D2B595
accent
#9847E0
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #4082CB

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

Preview Lab → · Contrast checker → · Palette generator →

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