#4181DF#4181DF

#4181DF is a mid, vivid blue. Relative luminance 0.222; OKLCH L 60.8% C 0.157 H 258.1°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#4181DF
RGBrgb(65, 129, 223)
HSLhsl(216, 71%, 56%)
HSVhsv(216, 71%, 87%)
CMYKcmyk(70.9%, 42.2%, 0%, 12.5%)
CIE-LABlab(54.19, 10.60, -53.91)
CIE-LCHlch(54.19, 54.94, 281.13°)
OKLaboklab(60.81% -0.0324 -0.1541)
OKLCHoklch(60.81% 0.157 258.1)
XYZxyz(23.3447, 22.1495, 72.8427)
Luminance0.2215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4181DF #DF9F41
analogous
#41D0DF #4181DF #5041DF
triadic
#4181DF #DF4181 #81DF41
tetradic
#4181DF #DF41D0 #DF9F41 #41DF50
square
#4181DF #DF41D0 #DF9F41 #41DF50
split-complementary
#4181DF #DF5041 #D0DF41
monochromatic
#18488E #2162C2 #4181DF #75A4E8 #AAC6F1

Accessibility & contrast

On white

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

On black

5.43
#4181DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4181DF
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4181DF#FFFFFF#000000##000000
##4181DF1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5489E3
Deuteranopia (green-blind)
#387BDD
Tritanopia (blue-blind)
#0097A5
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4181df;
/* rgb */ color: rgb(65, 129, 223);
/* oklch */ color: oklch(60.8% 0.157 258.1);
Tailwind
colors: {
  custom: {
    50: '#88a5e9',
    500: '#4181df',
    950: '#000000',
  },
}
SCSS
$custom: #4181df;
$custom-light: #88a5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4181df",
  "rgb": {
    "r": 65,
    "g": 129,
    "b": 223
  },
  "hsl": {
    "h": 215.696,
    "s": 71.171,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60808,
    "c": 0.15744,
    "h": 258.1
  },
  "luminance": 0.22152
}

Semantic roles & 50–950 ramp

primary
#4181DF
secondary
#DEC49D
accent
#A53AEE
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4181DF

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

Preview Lab → · Contrast checker → · Palette generator →

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