#4182D4#4182D4

#4182D4 is a mid, vivid cyan. Relative luminance 0.218; OKLCH L 60.4% C 0.142 H 255.4°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#4182D4
RGBrgb(65, 130, 212)
HSLhsl(213, 63%, 54%)
HSVhsv(213, 69%, 83%)
CMYKcmyk(69.3%, 38.7%, 0%, 16.9%)
CIE-LABlab(53.86, 6.08, -48.24)
CIE-LCHlch(53.86, 48.62, 277.19°)
OKLaboklab(60.36% -0.0357 -0.1374)
OKLCHoklch(60.36% 0.142 255.4)
XYZxyz(22.0419, 21.8402, 65.3285)
Luminance0.2184 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4182D4 #D49341
analogous
#41CCD4 #4182D4 #4A41D4
triadic
#4182D4 #D44182 #82D441
tetradic
#4182D4 #D441CC #D49341 #41D44A
square
#4182D4 #D441CC #D49341 #41D44A
split-complementary
#4182D4 #D44A41 #CCD441
monochromatic
#1D487E #2864B0 #4182D4 #73A3DF #A5C4EB

Accessibility & contrast

On white

3.91
#4182D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#4182D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4182D4
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4182D4#FFFFFF#000000##000000
##4182D41.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C88D7
Deuteranopia (green-blind)
#467AD2
Tritanopia (blue-blind)
#0095A1
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4182d4;
/* rgb */ color: rgb(65, 130, 212);
/* oklch */ color: oklch(60.4% 0.142 255.4);
Tailwind
colors: {
  custom: {
    50: '#86a5e1',
    500: '#4182d4',
    950: '#000000',
  },
}
SCSS
$custom: #4182d4;
$custom-light: #86a5e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4182d4",
  "rgb": {
    "r": 65,
    "g": 130,
    "b": 212
  },
  "hsl": {
    "h": 213.469,
    "s": 63.09,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60356,
    "c": 0.14198,
    "h": 255.4
  },
  "luminance": 0.21843
}

Semantic roles & 50–950 ramp

primary
#4182D4
secondary
#D8BC99
accent
#9D42E6
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #4182D4

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

Preview Lab → · Contrast checker → · Palette generator →

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