#4181D8#4181D8

#4181D8 is a mid, vivid cyan. Relative luminance 0.218; OKLCH L 60.4% C 0.148 H 256.8°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#4181D8
RGBrgb(65, 129, 216)
HSLhsl(215, 66%, 55%)
HSVhsv(215, 70%, 85%)
CMYKcmyk(69.9%, 40.3%, 0%, 15.3%)
CIE-LABlab(53.79, 8.11, -50.60)
CIE-LCHlch(53.79, 51.25, 279.10°)
OKLaboklab(60.38% -0.0339 -0.1444)
OKLCHoklch(60.38% 0.148 256.8)
XYZxyz(22.4204, 21.7798, 67.9748)
Luminance0.2178 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4181D8 #D89841
analogous
#41CCD8 #4181D8 #4D41D8
triadic
#4181D8 #D84181 #81D841
tetradic
#4181D8 #D841CC #D89841 #41D84D
square
#4181D8 #D841CC #D89841 #41D84D
split-complementary
#4181D8 #D84D41 #CCD841
monochromatic
#1B4784 #2563B6 #4181D8 #74A3E2 #A7C4ED

Accessibility & contrast

On white

3.92
#4181D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#4181D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4181D8
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4181D8#FFFFFF#000000##000000
##4181D81.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5888DB
Deuteranopia (green-blind)
#407AD6
Tritanopia (blue-blind)
#0095A2
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4181d8;
/* rgb */ color: rgb(65, 129, 216);
/* oklch */ color: oklch(60.4% 0.148 256.8);
Tailwind
colors: {
  custom: {
    50: '#87a5e4',
    500: '#4181d8',
    950: '#000000',
  },
}
SCSS
$custom: #4181d8;
$custom-light: #87a5e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4181d8",
  "rgb": {
    "r": 65,
    "g": 129,
    "b": 216
  },
  "hsl": {
    "h": 214.57,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60377,
    "c": 0.14828,
    "h": 256.8
  },
  "luminance": 0.21782
}

Semantic roles & 50–950 ramp

primary
#4181D8
secondary
#DABF9B
accent
#A13FE9
background
#F8FAFE
surface
#F0F4FC
border
#CBCED5
text
#0D0F16
muted
#7D7F84

Preview Lab

Preview with #4181D8

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

Preview Lab → · Contrast checker → · Palette generator →

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