#4164DC#4164DC

#4164DC is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.6% C 0.188 H 267.5°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4164DC
RGBrgb(65, 100, 220)
HSLhsl(226, 69%, 56%)
HSVhsv(226, 70%, 86%)
CMYKcmyk(70.5%, 54.5%, 0%, 13.7%)
CIE-LABlab(46.18, 27.63, -65.10)
CIE-LCHlch(46.18, 70.72, 293.00°)
OKLaboklab(54.63% -0.0082 -0.1875)
OKLCHoklch(54.63% 0.188 267.5)
XYZxyz(19.6509, 15.4035, 69.6338)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4164DC #DCB941
analogous
#41B1DC #4164DC #6B41DC
triadic
#4164DC #DC4164 #64DC41
tetradic
#4164DC #DC41B1 #DCB941 #41DC6B
square
#4164DC #DC41B1 #DCB941 #41DC6B
split-complementary
#4164DC #DC6B41 #B1DC41
monochromatic
#193389 #2346BD #4164DC #758EE6 #A8B8EF

Accessibility & contrast

On white

5.15
#4164DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#4164DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4164DC
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4164DC#FFFFFF#000000##FFFFFF
##4164DC1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#0067DA
Tritanopia (blue-blind)
#008196
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4164dc;
/* rgb */ color: rgb(65, 100, 220);
/* oklch */ color: oklch(54.6% 0.188 267.5);
Tailwind
colors: {
  custom: {
    50: '#888fe8',
    500: '#4164dc',
    950: '#000000',
  },
}
SCSS
$custom: #4164dc;
$custom-light: #888fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#4164dc",
  "rgb": {
    "r": 65,
    "g": 100,
    "b": 220
  },
  "hsl": {
    "h": 226.452,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54631,
    "c": 0.18764,
    "h": 267.5
  },
  "luminance": 0.15405
}

Semantic roles & 50–950 ramp

primary
#4164DC
secondary
#DDCE9C
accent
#C43CEC
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4164DC

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

Preview Lab → · Contrast checker → · Palette generator →

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