#4166D5#4166D5

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

Color values

HEX#4166D5
RGBrgb(65, 102, 213)
HSLhsl(225, 64%, 55%)
HSVhsv(225, 69%, 84%)
CMYKcmyk(69.5%, 52.1%, 0%, 16.5%)
CIE-LABlab(46.22, 23.86, -61.06)
CIE-LCHlch(46.22, 65.56, 291.34°)
OKLaboklab(54.5% -0.0104 -0.1756)
OKLCHoklch(54.5% 0.176 266.6)
XYZxyz(18.9374, 15.4287, 64.9179)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4166D5 #D5B041
analogous
#41B0D5 #4166D5 #6641D5
triadic
#4166D5 #D54166 #66D541
tetradic
#4166D5 #D541B0 #D5B041 #41D566
square
#4166D5 #D541B0 #D5B041 #41D566
split-complementary
#4166D5 #D56641 #B0D541
monochromatic
#1C357F #274AB2 #4166D5 #738EE0 #A5B7EB

Accessibility & contrast

On white

5.14
#4166D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#4166D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4166D5
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4166D5#FFFFFF#000000##FFFFFF
##4166D51.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C75D9
Deuteranopia (green-blind)
#0067D3
Tritanopia (blue-blind)
#008194
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4166d5;
/* rgb */ color: rgb(65, 102, 213);
/* oklch */ color: oklch(54.5% 0.176 266.6);
Tailwind
colors: {
  custom: {
    50: '#8791e3',
    500: '#4166d5',
    950: '#000000',
  },
}
SCSS
$custom: #4166d5;
$custom-light: #8791e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4166d5",
  "rgb": {
    "r": 65,
    "g": 102,
    "b": 213
  },
  "hsl": {
    "h": 225,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.54502,
    "c": 0.17586,
    "h": 266.6
  },
  "luminance": 0.15431
}

Semantic roles & 50–950 ramp

primary
#4166D5
secondary
#D8C99A
accent
#BD41E7
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C15
muted
#7E7D84

Preview Lab

Preview with #4166D5

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

Preview Lab → · Contrast checker → · Palette generator →

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