#4180D7#4180D7

#4180D7 is a mid, vivid cyan. Relative luminance 0.215; OKLCH L 60.1% C 0.148 H 257.1°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#4180D7
RGBrgb(65, 128, 215)
HSLhsl(215, 65%, 55%)
HSVhsv(215, 70%, 84%)
CMYKcmyk(69.8%, 40.5%, 0%, 15.7%)
CIE-LABlab(53.46, 8.36, -50.57)
CIE-LCHlch(53.46, 51.26, 279.39°)
OKLaboklab(60.1% -0.0331 -0.1443)
OKLCHoklch(60.1% 0.148 257.1)
XYZxyz(22.1604, 21.4661, 67.2523)
Luminance0.2147 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4180D7 #D79841
analogous
#41CBD7 #4180D7 #4D41D7
triadic
#4180D7 #D74180 #80D741
tetradic
#4180D7 #D741CB #D79841 #41D74D
square
#4180D7 #D741CB #D79841 #41D74D
split-complementary
#4180D7 #D74D41 #CBD741
monochromatic
#1B4782 #2662B5 #4180D7 #74A2E2 #A6C4EC

Accessibility & contrast

On white

3.97
#4180D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#4180D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4180D7
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4180D7#FFFFFF#000000##000000
##4180D71.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5787DA
Deuteranopia (green-blind)
#3F79D5
Tritanopia (blue-blind)
#0094A1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4180d7;
/* rgb */ color: rgb(65, 128, 215);
/* oklch */ color: oklch(60.1% 0.148 257.1);
Tailwind
colors: {
  custom: {
    50: '#86a4e4',
    500: '#4180d7',
    950: '#000000',
  },
}
SCSS
$custom: #4180d7;
$custom-light: #86a4e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4180d7",
  "rgb": {
    "r": 65,
    "g": 128,
    "b": 215
  },
  "hsl": {
    "h": 214.8,
    "s": 65.217,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60097,
    "c": 0.14805,
    "h": 257.1
  },
  "luminance": 0.21468
}

Semantic roles & 50–950 ramp

primary
#4180D7
secondary
#D9BF9A
accent
#A140E8
background
#F8FAFE
surface
#F0F3FC
border
#CBCDD5
text
#0D0F15
muted
#7D7F84

Preview Lab

Preview with #4180D7

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

Preview Lab → · Contrast checker → · Palette generator →

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