#4166D2#4166D2

#4166D2 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.3% C 0.172 H 266.4°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#4166D2
RGBrgb(65, 102, 210)
HSLhsl(225, 62%, 54%)
HSVhsv(225, 69%, 82%)
CMYKcmyk(69%, 51.4%, 0%, 17.6%)
CIE-LABlab(46.01, 22.79, -59.68)
CIE-LCHlch(46.01, 63.88, 290.90°)
OKLaboklab(54.28% -0.0106 -0.1715)
OKLCHoklch(54.28% 0.172 266.4)
XYZxyz(18.5602, 15.2778, 62.9311)
Luminance0.1528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4166D2 #D2AD41
analogous
#41AED2 #4166D2 #6541D2
triadic
#4166D2 #D24166 #66D241
tetradic
#4166D2 #D241AE #D2AD41 #41D265
square
#4166D2 #D241AE #D2AD41 #41D265
split-complementary
#4166D2 #D26541 #AED241
monochromatic
#1D357B #294BAD #4166D2 #728EDE #A4B6E9

Accessibility & contrast

On white

5.18
#4166D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#4166D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4166D2
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4166D2#FFFFFF#000000##FFFFFF
##4166D21.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2274D6
Deuteranopia (green-blind)
#0067D0
Tritanopia (blue-blind)
#008092
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4166d2;
/* rgb */ color: rgb(65, 102, 210);
/* oklch */ color: oklch(54.3% 0.172 266.4);
Tailwind
colors: {
  custom: {
    50: '#8691e0',
    500: '#4166d2',
    950: '#000000',
  },
}
SCSS
$custom: #4166d2;
$custom-light: #8691e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4166d2",
  "rgb": {
    "r": 65,
    "g": 102,
    "b": 210
  },
  "hsl": {
    "h": 224.69,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54283,
    "c": 0.1718,
    "h": 266.4
  },
  "luminance": 0.1528
}

Semantic roles & 50–950 ramp

primary
#4166D2
secondary
#D6C798
accent
#BC43E5
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0D0C15
muted
#7D7D83

Preview Lab

Preview with #4166D2

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

Preview Lab → · Contrast checker → · Palette generator →

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