#4166DB#4166DB

#4166DB is a mid, vivid blue. Relative luminance 0.157; OKLCH L 54.9% C 0.184 H 266.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#4166DB
RGBrgb(65, 102, 219)
HSLhsl(226, 68%, 56%)
HSVhsv(226, 70%, 86%)
CMYKcmyk(70.3%, 53.4%, 0%, 14.1%)
CIE-LABlab(46.63, 26.01, -63.81)
CIE-LCHlch(46.63, 68.90, 292.18°)
OKLaboklab(54.95% -0.0099 -0.1836)
OKLCHoklch(54.95% 0.184 266.9)
XYZxyz(19.7131, 15.7390, 69.0031)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4166DB #DBB641
analogous
#41B3DB #4166DB #6941DB
triadic
#4166DB #DB4166 #66DB41
tetradic
#4166DB #DB41B3 #DBB641 #41DB69
square
#4166DB #DB41B3 #DBB641 #41DB69
split-complementary
#4166DB #DB6941 #B3DB41
monochromatic
#1A3488 #2348BB #4166DB #748FE5 #A8B9EE

Accessibility & contrast

On white

5.06
#4166DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#4166DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4166DB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4166DB#FFFFFF#000000##FFFFFF
##4166DB1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0976DF
Deuteranopia (green-blind)
#0068D9
Tritanopia (blue-blind)
#008297
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4166db;
/* rgb */ color: rgb(65, 102, 219);
/* oklch */ color: oklch(54.9% 0.184 266.9);
Tailwind
colors: {
  custom: {
    50: '#8891e7',
    500: '#4166db',
    950: '#000000',
  },
}
SCSS
$custom: #4166db;
$custom-light: #8891e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4166db",
  "rgb": {
    "r": 65,
    "g": 102,
    "b": 219
  },
  "hsl": {
    "h": 225.584,
    "s": 68.142,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54946,
    "c": 0.18389,
    "h": 266.9
  },
  "luminance": 0.15741
}

Semantic roles & 50–950 ramp

primary
#4166DB
secondary
#DCCD9C
accent
#C13DEB
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4166DB

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

Preview Lab → · Contrast checker → · Palette generator →

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