#4082DB#4082DB

#4082DB is a mid, vivid cyan. Relative luminance 0.222; OKLCH L 60.7% C 0.151 H 256.7°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#4082DB
RGBrgb(64, 130, 219)
HSLhsl(214, 68%, 55%)
HSVhsv(214, 71%, 86%)
CMYKcmyk(70.8%, 40.6%, 0%, 14.1%)
CIE-LABlab(54.20, 8.42, -51.64)
CIE-LCHlch(54.20, 52.32, 279.27°)
OKLaboklab(60.74% -0.0348 -0.1474)
OKLCHoklch(60.74% 0.151 256.7)
XYZxyz(22.8785, 22.1673, 70.0771)
Luminance0.2217 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4082DB #DB9940
analogous
#40CFDB #4082DB #4C40DB
triadic
#4082DB #DB4082 #82DB40
tetradic
#4082DB #DB40CF #DB9940 #40DB4C
square
#4082DB #DB40CF #DB9940 #40DB4C
split-complementary
#4082DB #DB4C40 #CFDB40
monochromatic
#194887 #2364BB #4082DB #73A4E5 #A7C5EE

Accessibility & contrast

On white

3.86
#4082DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#4082DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4082DB
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4082DB#FFFFFF#000000##000000
##4082DB1.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5889DF
Deuteranopia (green-blind)
#3F7BD9
Tritanopia (blue-blind)
#0097A4
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4082db;
/* rgb */ color: rgb(64, 130, 219);
/* oklch */ color: oklch(60.7% 0.151 256.7);
Tailwind
colors: {
  custom: {
    50: '#87a5e6',
    500: '#4082db',
    950: '#000000',
  },
}
SCSS
$custom: #4082db;
$custom-light: #87a5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4082db",
  "rgb": {
    "r": 64,
    "g": 130,
    "b": 219
  },
  "hsl": {
    "h": 214.452,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.6074,
    "c": 0.15145,
    "h": 256.7
  },
  "luminance": 0.2217
}

Semantic roles & 50–950 ramp

primary
#4082DB
secondary
#DCC09B
accent
#A13DEB
background
#F8FAFE
surface
#F0F4FC
border
#CBCED5
text
#0D0F16
muted
#7D7F84

Preview Lab

Preview with #4082DB

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

Preview Lab → · Contrast checker → · Palette generator →

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