#4181DE#4181DE

#4181DE is a mid, vivid blue. Relative luminance 0.221; OKLCH L 60.7% C 0.156 H 257.9°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#4181DE
RGBrgb(65, 129, 222)
HSLhsl(216, 70%, 56%)
HSVhsv(216, 71%, 87%)
CMYKcmyk(70.7%, 41.9%, 0%, 12.9%)
CIE-LABlab(54.13, 10.25, -53.44)
CIE-LCHlch(54.13, 54.41, 280.85°)
OKLaboklab(60.75% -0.0326 -0.1527)
OKLCHoklch(60.75% 0.156 257.9)
XYZxyz(23.2103, 22.0958, 72.1348)
Luminance0.2210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4181DE #DE9E41
analogous
#41D0DE #4181DE #5041DE
triadic
#4181DE #DE4181 #81DE41
tetradic
#4181DE #DE41D0 #DE9E41 #41DE50
square
#4181DE #DE41D0 #DE9E41 #41DE50
split-complementary
#4181DE #DE5041 #D0DE41
monochromatic
#18488C #2162C0 #4181DE #75A4E7 #A9C6F0

Accessibility & contrast

On white

3.87
#4181DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#4181DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4181DE
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4181DE#FFFFFF#000000##000000
##4181DE1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5489E2
Deuteranopia (green-blind)
#3A7BDC
Tritanopia (blue-blind)
#0097A5
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4181de;
/* rgb */ color: rgb(65, 129, 222);
/* oklch */ color: oklch(60.7% 0.156 257.9);
Tailwind
colors: {
  custom: {
    50: '#88a5e9',
    500: '#4181de',
    950: '#000000',
  },
}
SCSS
$custom: #4181de;
$custom-light: #88a5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4181de",
  "rgb": {
    "r": 65,
    "g": 129,
    "b": 222
  },
  "hsl": {
    "h": 215.541,
    "s": 70.404,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60746,
    "c": 0.15614,
    "h": 257.9
  },
  "luminance": 0.22098
}

Semantic roles & 50–950 ramp

primary
#4181DE
secondary
#DEC39D
accent
#A43BED
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4181DE

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

Preview Lab → · Contrast checker → · Palette generator →

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