#4181DD#4181DD

#4181DD is a mid, vivid blue. Relative luminance 0.220; OKLCH L 60.7% C 0.155 H 257.8°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#4181DD
RGBrgb(65, 129, 221)
HSLhsl(215, 70%, 56%)
HSVhsv(215, 71%, 87%)
CMYKcmyk(70.6%, 41.6%, 0%, 13.3%)
CIE-LABlab(54.07, 9.89, -52.97)
CIE-LCHlch(54.07, 53.88, 280.58°)
OKLaboklab(60.68% -0.0328 -0.1513)
OKLCHoklch(60.68% 0.155 257.8)
XYZxyz(23.0766, 22.0423, 71.4310)
Luminance0.2205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4181DD #DD9D41
analogous
#41CFDD #4181DD #4F41DD
triadic
#4181DD #DD4181 #81DD41
tetradic
#4181DD #DD41CF #DD9D41 #41DD4F
square
#4181DD #DD41CF #DD9D41 #41DD4F
split-complementary
#4181DD #DD4F41 #CFDD41
monochromatic
#19488B #2262BF #4181DD #75A3E6 #A9C6F0

Accessibility & contrast

On white

3.88
#4181DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#4181DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4181DD
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4181DD#FFFFFF#000000##000000
##4181DD1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5589E1
Deuteranopia (green-blind)
#3B7BDB
Tritanopia (blue-blind)
#0096A4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4181dd;
/* rgb */ color: rgb(65, 129, 221);
/* oklch */ color: oklch(60.7% 0.155 257.8);
Tailwind
colors: {
  custom: {
    50: '#87a5e8',
    500: '#4181dd',
    950: '#000000',
  },
}
SCSS
$custom: #4181dd;
$custom-light: #87a5e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4181dd",
  "rgb": {
    "r": 65,
    "g": 129,
    "b": 221
  },
  "hsl": {
    "h": 215.385,
    "s": 69.643,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60684,
    "c": 0.15483,
    "h": 257.8
  },
  "luminance": 0.22045
}

Semantic roles & 50–950 ramp

primary
#4181DD
secondary
#DDC39D
accent
#A43BEC
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4181DD

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

Preview Lab → · Contrast checker → · Palette generator →

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