#4164D4#4164D4

#4164D4 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.0% C 0.177 H 267.2°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#4164D4
RGBrgb(65, 100, 212)
HSLhsl(226, 63%, 54%)
HSVhsv(226, 69%, 83%)
CMYKcmyk(69.3%, 52.8%, 0%, 16.9%)
CIE-LABlab(45.62, 24.77, -61.46)
CIE-LCHlch(45.62, 66.26, 291.95°)
OKLaboklab(54.03% -0.0088 -0.1767)
OKLCHoklch(54.03% 0.177 267.2)
XYZxyz(18.6167, 14.9898, 64.1868)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4164D4 #D4B141
analogous
#41AED4 #4164D4 #6841D4
triadic
#4164D4 #D44164 #64D441
tetradic
#4164D4 #D441AE #D4B141 #41D468
square
#4164D4 #D441AE #D4B141 #41D468
split-complementary
#4164D4 #D46841 #AED441
monochromatic
#1D347E #2848B0 #4164D4 #738DDF #A5B5EB

Accessibility & contrast

On white

5.25
#4164D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#4164D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4164D4
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4164D4#FFFFFF#000000##FFFFFF
##4164D41.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1573D8
Deuteranopia (green-blind)
#0066D2
Tritanopia (blue-blind)
#007F92
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4164d4;
/* rgb */ color: rgb(65, 100, 212);
/* oklch */ color: oklch(54.0% 0.177 267.2);
Tailwind
colors: {
  custom: {
    50: '#878fe2',
    500: '#4164d4',
    950: '#000000',
  },
}
SCSS
$custom: #4164d4;
$custom-light: #878fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#4164d4",
  "rgb": {
    "r": 65,
    "g": 100,
    "b": 212
  },
  "hsl": {
    "h": 225.714,
    "s": 63.09,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54029,
    "c": 0.17695,
    "h": 267.2
  },
  "luminance": 0.14992
}

Semantic roles & 50–950 ramp

primary
#4164D4
secondary
#D8C999
accent
#BF42E6
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0D0C15
muted
#7D7D83

Preview Lab

Preview with #4164D4

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

Preview Lab → · Contrast checker → · Palette generator →

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