#4182DC#4182DC

#4182DC is a mid, vivid cyan. Relative luminance 0.223; OKLCH L 60.8% C 0.152 H 257.1°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#4182DC
RGBrgb(65, 130, 220)
HSLhsl(215, 69%, 56%)
HSVhsv(215, 70%, 86%)
CMYKcmyk(70.5%, 40.9%, 0%, 13.7%)
CIE-LABlab(54.30, 8.92, -52.05)
CIE-LCHlch(54.30, 52.81, 279.73°)
OKLaboklab(60.84% -0.0339 -0.1486)
OKLCHoklch(60.84% 0.152 257.1)
XYZxyz(23.0762, 22.2539, 70.7755)
Luminance0.2226 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4182DC #DC9B41
analogous
#41CFDC #4182DC #4D41DC
triadic
#4182DC #DC4182 #82DC41
tetradic
#4182DC #DC41CF #DC9B41 #41DC4D
square
#4182DC #DC41CF #DC9B41 #41DC4D
split-complementary
#4182DC #DC4D41 #CFDC41
monochromatic
#194889 #2363BD #4182DC #75A4E6 #A8C6EF

Accessibility & contrast

On white

3.85
#4182DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#4182DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4182DC
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4182DC#FFFFFF#000000##000000
##4182DC1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#578AE0
Deuteranopia (green-blind)
#3E7BDA
Tritanopia (blue-blind)
#0097A4
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4182dc;
/* rgb */ color: rgb(65, 130, 220);
/* oklch */ color: oklch(60.8% 0.152 257.1);
Tailwind
colors: {
  custom: {
    50: '#87a5e7',
    500: '#4182dc',
    950: '#000000',
  },
}
SCSS
$custom: #4182dc;
$custom-light: #87a5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4182dc",
  "rgb": {
    "r": 65,
    "g": 130,
    "b": 220
  },
  "hsl": {
    "h": 214.839,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60839,
    "c": 0.15241,
    "h": 257.1
  },
  "luminance": 0.22256
}

Semantic roles & 50–950 ramp

primary
#4182DC
secondary
#DDC29C
accent
#A23CEC
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4182DC

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

Preview Lab → · Contrast checker → · Palette generator →

#4182DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva