#4164CE#4164CE

#4164CE is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.6% C 0.169 H 266.8°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#4164CE
RGBrgb(65, 100, 206)
HSLhsl(225, 59%, 53%)
HSVhsv(225, 68%, 81%)
CMYKcmyk(68.4%, 51.5%, 0%, 19.2%)
CIE-LABlab(45.21, 22.62, -58.68)
CIE-LCHlch(45.21, 62.89, 291.08°)
OKLaboklab(53.59% -0.0093 -0.1686)
OKLCHoklch(53.59% 0.169 266.8)
XYZxyz(17.8739, 14.6926, 60.2745)
Luminance0.1469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4164CE #CEAB41
analogous
#41ABCE #4164CE #6441CE
triadic
#4164CE #CE4164 #64CE41
tetradic
#4164CE #CE41AB #CEAB41 #41CE64
square
#4164CE #CE41AB #CEAB41 #41CE64
split-complementary
#4164CE #CE6441 #ABCE41
monochromatic
#1E3476 #2B4AA7 #4164CE #728CDB #A2B3E7

Accessibility & contrast

On white

5.33
#4164CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#4164CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4164CE
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4164CE#FFFFFF#000000##FFFFFF
##4164CE1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2272D2
Deuteranopia (green-blind)
#0065CC
Tritanopia (blue-blind)
#007D8F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4164ce;
/* rgb */ color: rgb(65, 100, 206);
/* oklch */ color: oklch(53.6% 0.169 266.8);
Tailwind
colors: {
  custom: {
    50: '#868fde',
    500: '#4164ce',
    950: '#000000',
  },
}
SCSS
$custom: #4164ce;
$custom-light: #868fde;
$custom-dark: #000000;
JSON
{
  "hex": "#4164ce",
  "rgb": {
    "r": 65,
    "g": 100,
    "b": 206
  },
  "hsl": {
    "h": 225.106,
    "s": 58.996,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53589,
    "c": 0.16884,
    "h": 266.8
  },
  "luminance": 0.14694
}

Semantic roles & 50–950 ramp

primary
#4164CE
secondary
#D4C597
accent
#BB46E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4164CE

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

Preview Lab → · Contrast checker → · Palette generator →

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