#4166E3#4166E3

#4166E3 is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.6% C 0.194 H 267.2°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#4166E3
RGBrgb(65, 102, 227)
HSLhsl(226, 74%, 57%)
HSVhsv(226, 71%, 89%)
CMYKcmyk(71.4%, 55.1%, 0%, 11%)
CIE-LABlab(47.20, 28.87, -67.42)
CIE-LCHlch(47.20, 73.34, 293.18°)
OKLaboklab(55.55% -0.0094 -0.1942)
OKLCHoklch(55.55% 0.194 267.2)
XYZxyz(20.7917, 16.1704, 74.6836)
Luminance0.1617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4166E3 #E3BE41
analogous
#41B7E3 #4166E3 #6D41E3
triadic
#4166E3 #E34166 #66E341
tetradic
#4166E3 #E341B7 #E3BE41 #41E36D
square
#4166E3 #E341B7 #E3BE41 #41E36D
split-complementary
#4166E3 #E36D41 #B7E341
monochromatic
#163394 #1E45C9 #4166E3 #7691EB #ACBCF3

Accessibility & contrast

On white

4.96
#4166E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#4166E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4166E3
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4166E3#FFFFFF#000000##FFFFFF
##4166E31.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078E7
Deuteranopia (green-blind)
#0069E1
Tritanopia (blue-blind)
#00859B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4166e3;
/* rgb */ color: rgb(65, 102, 227);
/* oklch */ color: oklch(55.6% 0.194 267.2);
Tailwind
colors: {
  custom: {
    50: '#8a91ed',
    500: '#4166e3',
    950: '#000000',
  },
}
SCSS
$custom: #4166e3;
$custom-light: #8a91ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4166e3",
  "rgb": {
    "r": 65,
    "g": 102,
    "b": 227
  },
  "hsl": {
    "h": 226.296,
    "s": 74.312,
    "l": 57.255
  },
  "oklch": {
    "l": 0.55553,
    "c": 0.19448,
    "h": 267.2
  },
  "luminance": 0.16173
}

Semantic roles & 50–950 ramp

primary
#4166E3
secondary
#E1D29F
accent
#C637F1
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4166E3

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

Preview Lab → · Contrast checker → · Palette generator →

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