#4180DD#4180DD

#4180DD is a mid, vivid blue. Relative luminance 0.218; OKLCH L 60.5% C 0.156 H 258.2°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#4180DD
RGBrgb(65, 128, 221)
HSLhsl(216, 70%, 56%)
HSVhsv(216, 71%, 87%)
CMYKcmyk(70.6%, 42.1%, 0%, 13.3%)
CIE-LABlab(53.79, 10.50, -53.41)
CIE-LCHlch(53.79, 54.44, 281.12°)
OKLaboklab(60.47% -0.0319 -0.1526)
OKLCHoklch(60.47% 0.156 258.2)
XYZxyz(22.9456, 21.7802, 71.3873)
Luminance0.2178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4180DD #DD9E41
analogous
#41CEDD #4180DD #5041DD
triadic
#4180DD #DD4180 #80DD41
tetradic
#4180DD #DD41CE #DD9E41 #41DD50
square
#4180DD #DD41CE #DD9E41 #41DD50
split-complementary
#4180DD #DD5041 #CEDD41
monochromatic
#19478B #2261BF #4180DD #75A3E6 #A9C5F0

Accessibility & contrast

On white

3.92
#4180DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#4180DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4180DD
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4180DD#FFFFFF#000000##000000
##4180DD1.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)
#5388E1
Deuteranopia (green-blind)
#397ADB
Tritanopia (blue-blind)
#0096A4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4180dd;
/* rgb */ color: rgb(65, 128, 221);
/* oklch */ color: oklch(60.5% 0.156 258.2);
Tailwind
colors: {
  custom: {
    50: '#87a4e8',
    500: '#4180dd',
    950: '#000000',
  },
}
SCSS
$custom: #4180dd;
$custom-light: #87a4e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4180dd",
  "rgb": {
    "r": 65,
    "g": 128,
    "b": 221
  },
  "hsl": {
    "h": 215.769,
    "s": 69.643,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60468,
    "c": 0.15593,
    "h": 258.2
  },
  "luminance": 0.21783
}

Semantic roles & 50–950 ramp

primary
#4180DD
secondary
#DDC39D
accent
#A53BEC
background
#F9FAFE
surface
#F1F3FD
border
#CBCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4180DD

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

Preview Lab → · Contrast checker → · Palette generator →

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