#4181CC#4181CC

#4181CC is a mid, vivid cyan. Relative luminance 0.212; OKLCH L 59.7% C 0.133 H 254.0°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#4181CC
RGBrgb(65, 129, 204)
HSLhsl(212, 58%, 53%)
HSVhsv(212, 68%, 80%)
CMYKcmyk(68.1%, 36.8%, 0%, 20%)
CIE-LABlab(53.15, 3.86, -44.84)
CIE-LCHlch(53.15, 45.01, 274.92°)
OKLaboklab(59.67% -0.0366 -0.1275)
OKLCHoklch(59.67% 0.133 254)
XYZxyz(20.9253, 21.1818, 60.1007)
Luminance0.2118 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4181CC #CC8C41
analogous
#41C6CC #4181CC #4641CC
triadic
#4181CC #CC4181 #81CC41
tetradic
#4181CC #CC41C6 #CC8C41 #41CC46
square
#4181CC #CC41C6 #CC8C41 #41CC46
split-complementary
#4181CC #CC4641 #C6CC41
monochromatic
#1F4674 #2C63A4 #4181CC #71A1D9 #A1C1E6

Accessibility & contrast

On white

4.01
#4181CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#4181CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4181CC
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4181CC#FFFFFF#000000##000000
##4181CC1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F86CF
Deuteranopia (green-blind)
#4B79CA
Tritanopia (blue-blind)
#00929D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4181cc;
/* rgb */ color: rgb(65, 129, 204);
/* oklch */ color: oklch(59.7% 0.133 254.0);
Tailwind
colors: {
  custom: {
    50: '#84a5dc',
    500: '#4181cc',
    950: '#000000',
  },
}
SCSS
$custom: #4181cc;
$custom-light: #84a5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4181cc",
  "rgb": {
    "r": 65,
    "g": 129,
    "b": 204
  },
  "hsl": {
    "h": 212.374,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59665,
    "c": 0.13263,
    "h": 254
  },
  "luminance": 0.21184
}

Semantic roles & 50–950 ramp

primary
#4181CC
secondary
#D3B796
accent
#9A47E1
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #4181CC

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

Preview Lab → · Contrast checker → · Palette generator →

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