#4164E5#4164E5

#4164E5 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.3% C 0.199 H 267.8°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#4164E5
RGBrgb(65, 100, 229)
HSLhsl(227, 76%, 58%)
HSVhsv(227, 72%, 90%)
CMYKcmyk(71.6%, 56.3%, 0%, 10.2%)
CIE-LABlab(46.83, 30.84, -69.14)
CIE-LCHlch(46.83, 75.70, 294.04°)
OKLaboklab(55.33% -0.0078 -0.1993)
OKLCHoklch(55.33% 0.199 267.8)
XYZxyz(20.8751, 15.8931, 76.0811)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4164E5 #E5C241
analogous
#41B6E5 #4164E5 #7041E5
triadic
#4164E5 #E54164 #64E541
tetradic
#4164E5 #E541B6 #E5C241 #41E570
square
#4164E5 #E541B6 #E5C241 #41E570
split-complementary
#4164E5 #E57041 #B6E541
monochromatic
#153097 #1C42CD #4164E5 #7790EC #ADBCF4

Accessibility & contrast

On white

5.03
#4164E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#4164E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4164E5
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4164E5#FFFFFF#000000##FFFFFF
##4164E51.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E9
Deuteranopia (green-blind)
#0068E2
Tritanopia (blue-blind)
#00849B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4164e5;
/* rgb */ color: rgb(65, 100, 229);
/* oklch */ color: oklch(55.3% 0.199 267.8);
Tailwind
colors: {
  custom: {
    50: '#8a8fee',
    500: '#4164e5',
    950: '#000000',
  },
}
SCSS
$custom: #4164e5;
$custom-light: #8a8fee;
$custom-dark: #000000;
JSON
{
  "hex": "#4164e5",
  "rgb": {
    "r": 65,
    "g": 100,
    "b": 229
  },
  "hsl": {
    "h": 227.195,
    "s": 75.926,
    "l": 57.647
  },
  "oklch": {
    "l": 0.55326,
    "c": 0.19948,
    "h": 267.8
  },
  "luminance": 0.15895
}

Semantic roles & 50–950 ramp

primary
#4164E5
secondary
#E2D4A0
accent
#CA35F3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4164E5

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

Preview Lab → · Contrast checker → · Palette generator →

#4164E5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva