#4181E0#4181E0

#4181E0 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 60.9% C 0.159 H 258.3°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#4181E0
RGBrgb(65, 129, 224)
HSLhsl(216, 72%, 57%)
HSVhsv(216, 71%, 88%)
CMYKcmyk(71%, 42.4%, 0%, 12.2%)
CIE-LABlab(54.24, 10.96, -54.38)
CIE-LCHlch(54.24, 55.47, 281.40°)
OKLaboklab(60.87% -0.0322 -0.1554)
OKLCHoklch(60.87% 0.159 258.3)
XYZxyz(23.4799, 22.2036, 73.5548)
Luminance0.2221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4181E0 #E0A041
analogous
#41D1E0 #4181E0 #5141E0
triadic
#4181E0 #E04181 #81E041
tetradic
#4181E0 #E041D1 #E0A041 #41E051
square
#4181E0 #E041D1 #E0A041 #41E051
split-complementary
#4181E0 #E05141 #D1E041
monochromatic
#17488F #2062C4 #4181E0 #76A4E9 #AAC7F1

Accessibility & contrast

On white

3.86
#4181E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#4181E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4181E0
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4181E0#FFFFFF#000000##000000
##4181E01.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#538AE4
Deuteranopia (green-blind)
#377BDE
Tritanopia (blue-blind)
#0097A5
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4181e0;
/* rgb */ color: rgb(65, 129, 224);
/* oklch */ color: oklch(60.9% 0.159 258.3);
Tailwind
colors: {
  custom: {
    50: '#88a5ea',
    500: '#4181e0',
    950: '#000000',
  },
}
SCSS
$custom: #4181e0;
$custom-light: #88a5ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4181e0",
  "rgb": {
    "r": 65,
    "g": 129,
    "b": 224
  },
  "hsl": {
    "h": 215.849,
    "s": 71.946,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60871,
    "c": 0.15875,
    "h": 258.3
  },
  "luminance": 0.22206
}

Semantic roles & 50–950 ramp

primary
#4181E0
secondary
#DFC59E
accent
#A639EF
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4181E0

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

Preview Lab → · Contrast checker → · Palette generator →

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