#4164DB#4164DB

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

Color values

HEX#4164DB
RGBrgb(65, 100, 219)
HSLhsl(226, 68%, 56%)
HSVhsv(226, 70%, 86%)
CMYKcmyk(70.3%, 54.3%, 0%, 14.1%)
CIE-LABlab(46.11, 27.27, -64.65)
CIE-LCHlch(46.11, 70.17, 292.87°)
OKLaboklab(54.56% -0.0083 -0.1861)
OKLCHoklch(54.56% 0.186 267.5)
XYZxyz(19.5189, 15.3506, 68.9384)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4164DB #DBB841
analogous
#41B1DB #4164DB #6B41DB
triadic
#4164DB #DB4164 #64DB41
tetradic
#4164DB #DB41B1 #DBB841 #41DB6B
square
#4164DB #DB41B1 #DBB841 #41DB6B
split-complementary
#4164DB #DB6B41 #B1DB41
monochromatic
#1A3388 #2346BB #4164DB #748EE5 #A8B8EE

Accessibility & contrast

On white

5.16
#4164DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#4164DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4164DB
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4164DB#FFFFFF#000000##FFFFFF
##4164DB1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075DF
Deuteranopia (green-blind)
#0066D9
Tritanopia (blue-blind)
#008196
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4164db;
/* rgb */ color: rgb(65, 100, 219);
/* oklch */ color: oklch(54.6% 0.186 267.5);
Tailwind
colors: {
  custom: {
    50: '#888fe7',
    500: '#4164db',
    950: '#000000',
  },
}
SCSS
$custom: #4164db;
$custom-light: #888fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#4164db",
  "rgb": {
    "r": 65,
    "g": 100,
    "b": 219
  },
  "hsl": {
    "h": 226.364,
    "s": 68.142,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54555,
    "c": 0.18631,
    "h": 267.5
  },
  "luminance": 0.15353
}

Semantic roles & 50–950 ramp

primary
#4164DB
secondary
#DCCD9C
accent
#C33DEB
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4164DB

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

Preview Lab → · Contrast checker → · Palette generator →

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