#4166E0#4166E0

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

Color values

HEX#4166E0
RGBrgb(65, 102, 224)
HSLhsl(226, 72%, 57%)
HSVhsv(226, 71%, 88%)
CMYKcmyk(71%, 54.5%, 0%, 12.2%)
CIE-LABlab(46.98, 27.80, -66.07)
CIE-LCHlch(46.98, 71.68, 292.82°)
OKLaboklab(55.32% -0.0095 -0.1903)
OKLCHoklch(55.32% 0.191 267.1)
XYZxyz(20.3812, 16.0063, 72.5220)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4166E0 #E0BB41
analogous
#41B6E0 #4166E0 #6C41E0
triadic
#4166E0 #E04166 #66E041
tetradic
#4166E0 #E041B6 #E0BB41 #41E06C
square
#4166E0 #E041B6 #E0BB41 #41E06C
split-complementary
#4166E0 #E06C41 #B6E041
monochromatic
#17338F #2046C4 #4166E0 #7690E9 #AABBF1

Accessibility & contrast

On white

5.00
#4166E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#4166E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4166E0
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4166E0#FFFFFF#000000##FFFFFF
##4166E01.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E4
Deuteranopia (green-blind)
#0068DE
Tritanopia (blue-blind)
#008499
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4166e0;
/* rgb */ color: rgb(65, 102, 224);
/* oklch */ color: oklch(55.3% 0.191 267.1);
Tailwind
colors: {
  custom: {
    50: '#8991ea',
    500: '#4166e0',
    950: '#000000',
  },
}
SCSS
$custom: #4166e0;
$custom-light: #8991ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4166e0",
  "rgb": {
    "r": 65,
    "g": 102,
    "b": 224
  },
  "hsl": {
    "h": 226.038,
    "s": 71.946,
    "l": 56.667
  },
  "oklch": {
    "l": 0.55324,
    "c": 0.19052,
    "h": 267.1
  },
  "luminance": 0.16008
}

Semantic roles & 50–950 ramp

primary
#4166E0
secondary
#DFD09E
accent
#C439EF
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4166E0

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

Preview Lab → · Contrast checker → · Palette generator →

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