#4166D4#4166D4

#4166D4 is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.4% C 0.174 H 266.6°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4166D4
RGBrgb(65, 102, 212)
HSLhsl(225, 63%, 54%)
HSVhsv(225, 69%, 83%)
CMYKcmyk(69.3%, 51.9%, 0%, 16.9%)
CIE-LABlab(46.15, 23.50, -60.60)
CIE-LCHlch(46.15, 65.00, 291.20°)
OKLaboklab(54.43% -0.0104 -0.1742)
OKLCHoklch(54.43% 0.175 266.6)
XYZxyz(18.8109, 15.3781, 64.2515)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4166D4 #D4AF41
analogous
#41B0D4 #4166D4 #6641D4
triadic
#4166D4 #D44166 #66D441
tetradic
#4166D4 #D441B0 #D4AF41 #41D466
square
#4166D4 #D441B0 #D4AF41 #41D466
split-complementary
#4166D4 #D46641 #B0D441
monochromatic
#1D357E #284AB0 #4166D4 #738EDF #A5B6EB

Accessibility & contrast

On white

5.15
#4166D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#4166D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4166D4
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4166D4#FFFFFF#000000##FFFFFF
##4166D41.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E74D8
Deuteranopia (green-blind)
#0067D2
Tritanopia (blue-blind)
#008093
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4166d4;
/* rgb */ color: rgb(65, 102, 212);
/* oklch */ color: oklch(54.4% 0.174 266.6);
Tailwind
colors: {
  custom: {
    50: '#8791e2',
    500: '#4166d4',
    950: '#000000',
  },
}
SCSS
$custom: #4166d4;
$custom-light: #8791e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4166d4",
  "rgb": {
    "r": 65,
    "g": 102,
    "b": 212
  },
  "hsl": {
    "h": 224.898,
    "s": 63.09,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54428,
    "c": 0.1745,
    "h": 266.6
  },
  "luminance": 0.1538
}

Semantic roles & 50–950 ramp

primary
#4166D4
secondary
#D8C899
accent
#BD42E6
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0D0C15
muted
#7D7D83

Preview Lab

Preview with #4166D4

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

Preview Lab → · Contrast checker → · Palette generator →

#4166D4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva