#4166DF#4166DF

#4166DF is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.2% C 0.189 H 267.1°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#4166DF
RGBrgb(65, 102, 223)
HSLhsl(226, 71%, 56%)
HSVhsv(226, 71%, 87%)
CMYKcmyk(70.9%, 54.3%, 0%, 12.5%)
CIE-LABlab(46.91, 27.44, -65.62)
CIE-LCHlch(46.91, 71.13, 292.69°)
OKLaboklab(55.25% -0.0096 -0.189)
OKLCHoklch(55.25% 0.189 267.1)
XYZxyz(20.2460, 15.9522, 71.8098)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4166DF #DFBA41
analogous
#41B5DF #4166DF #6B41DF
triadic
#4166DF #DF4166 #66DF41
tetradic
#4166DF #DF41B5 #DFBA41 #41DF6B
square
#4166DF #DF41B5 #DFBA41 #41DF6B
split-complementary
#4166DF #DF6B41 #B5DF41
monochromatic
#18338E #2146C2 #4166DF #7590E8 #AABAF1

Accessibility & contrast

On white

5.01
#4166DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#4166DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4166DF
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4166DF#FFFFFF#000000##FFFFFF
##4166DF1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E3
Deuteranopia (green-blind)
#0068DD
Tritanopia (blue-blind)
#008399
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4166df;
/* rgb */ color: rgb(65, 102, 223);
/* oklch */ color: oklch(55.2% 0.189 267.1);
Tailwind
colors: {
  custom: {
    50: '#8991ea',
    500: '#4166df',
    950: '#000000',
  },
}
SCSS
$custom: #4166df;
$custom-light: #8991ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4166df",
  "rgb": {
    "r": 65,
    "g": 102,
    "b": 223
  },
  "hsl": {
    "h": 225.949,
    "s": 71.171,
    "l": 56.471
  },
  "oklch": {
    "l": 0.55248,
    "c": 0.1892,
    "h": 267.1
  },
  "luminance": 0.15954
}

Semantic roles & 50–950 ramp

primary
#4166DF
secondary
#DECF9D
accent
#C43AEE
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4166DF

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

Preview Lab → · Contrast checker → · Palette generator →

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