#4180CC#4180CC

#4180CC is a mid, vivid cyan. Relative luminance 0.209; OKLCH L 59.4% C 0.134 H 254.5°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#4180CC
RGBrgb(65, 128, 204)
HSLhsl(213, 58%, 53%)
HSVhsv(213, 68%, 80%)
CMYKcmyk(68.1%, 37.3%, 0%, 20%)
CIE-LABlab(52.86, 4.46, -45.29)
CIE-LCHlch(52.86, 45.51, 275.63°)
OKLaboklab(59.44% -0.0357 -0.1288)
OKLCHoklch(59.44% 0.134 254.5)
XYZxyz(20.7942, 20.9196, 60.0570)
Luminance0.2092 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4180CC #CC8D41
analogous
#41C5CC #4180CC #4841CC
triadic
#4180CC #CC4180 #80CC41
tetradic
#4180CC #CC41C5 #CC8D41 #41CC48
square
#4180CC #CC41C5 #CC8D41 #41CC48
split-complementary
#4180CC #CC4841 #C5CC41
monochromatic
#1F4574 #2C62A4 #4180CC #71A0D9 #A1C1E6

Accessibility & contrast

On white

4.05
#4180CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#4180CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4180CC
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4180CC#FFFFFF#000000##000000
##4180CC1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E85CF
Deuteranopia (green-blind)
#4978CA
Tritanopia (blue-blind)
#00929C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4180cc;
/* rgb */ color: rgb(65, 128, 204);
/* oklch */ color: oklch(59.4% 0.134 254.5);
Tailwind
colors: {
  custom: {
    50: '#84a4dc',
    500: '#4180cc',
    950: '#000000',
  },
}
SCSS
$custom: #4180cc;
$custom-light: #84a4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4180cc",
  "rgb": {
    "r": 65,
    "g": 128,
    "b": 204
  },
  "hsl": {
    "h": 212.806,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59441,
    "c": 0.13366,
    "h": 254.5
  },
  "luminance": 0.20922
}

Semantic roles & 50–950 ramp

primary
#4180CC
secondary
#D3B796
accent
#9B47E1
background
#F8FAFD
surface
#F0F3FB
border
#CBCDD4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #4180CC

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

Preview Lab → · Contrast checker → · Palette generator →

#4180CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva