#4181EA#4181EA

#4181EA is a mid, vivid blue. Relative luminance 0.228; OKLCH L 61.5% C 0.172 H 259.8°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#4181EA
RGBrgb(65, 129, 234)
HSLhsl(217, 80%, 59%)
HSVhsv(217, 72%, 92%)
CMYKcmyk(72.2%, 44.9%, 0%, 8.2%)
CIE-LABlab(54.83, 14.54, -59.04)
CIE-LCHlch(54.83, 60.80, 283.84°)
OKLaboklab(61.51% -0.0304 -0.1691)
OKLCHoklch(61.51% 0.172 259.8)
XYZxyz(24.8761, 22.7621, 80.9084)
Luminance0.2276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4181EA #EAAA41
analogous
#41D6EA #4181EA #5541EA
triadic
#4181EA #EA4181 #81EA41
tetradic
#4181EA #EA41D6 #EAAA41 #41EA55
square
#4181EA #EA41D6 #EAAA41 #41EA55
split-complementary
#4181EA #EA5541 #D6EA41
monochromatic
#12479F #1860D6 #4181EA #78A6F0 #AFCAF6

Accessibility & contrast

On white

3.78
#4181EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#4181EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4181EA
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4181EA#FFFFFF#000000##000000
##4181EA1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8CEE
Deuteranopia (green-blind)
#287CE8
Tritanopia (blue-blind)
#009AAA
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4181ea;
/* rgb */ color: rgb(65, 129, 234);
/* oklch */ color: oklch(61.5% 0.172 259.8);
Tailwind
colors: {
  custom: {
    50: '#8aa4f1',
    500: '#4181ea',
    950: '#000000',
  },
}
SCSS
$custom: #4181ea;
$custom-light: #8aa4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#4181ea",
  "rgb": {
    "r": 65,
    "g": 129,
    "b": 234
  },
  "hsl": {
    "h": 217.278,
    "s": 80.095,
    "l": 58.627
  },
  "oklch": {
    "l": 0.61511,
    "c": 0.17185,
    "h": 259.8
  },
  "luminance": 0.22765
}

Semantic roles & 50–950 ramp

primary
#4181EA
secondary
#E5CCA2
accent
#AC31F7
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F17
muted
#7E7F85

Preview Lab

Preview with #4181EA

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

Preview Lab → · Contrast checker → · Palette generator →

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