#4164CA#4164CA

#4164CA is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.3% C 0.163 H 266.6°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#4164CA
RGBrgb(65, 100, 202)
HSLhsl(225, 56%, 52%)
HSVhsv(225, 68%, 79%)
CMYKcmyk(67.8%, 50.5%, 0%, 20.8%)
CIE-LABlab(44.94, 21.19, -56.82)
CIE-LCHlch(44.94, 60.64, 290.45°)
OKLaboklab(53.3% -0.0097 -0.1631)
OKLCHoklch(53.3% 0.163 266.6)
XYZxyz(17.3941, 14.5007, 57.7479)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4164CA #CAA741
analogous
#41A8CA #4164CA #6341CA
triadic
#4164CA #CA4164 #64CA41
tetradic
#4164CA #CA41A8 #CAA741 #41CA63
square
#4164CA #CA41A8 #CAA741 #41CA63
split-complementary
#4164CA #CA6341 #A8CA41
monochromatic
#203471 #2D4BA1 #4164CA #718BD7 #A1B2E5

Accessibility & contrast

On white

5.38
#4164CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#4164CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4164CA
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4164CA#FFFFFF#000000##FFFFFF
##4164CA1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2871CE
Deuteranopia (green-blind)
#0064C8
Tritanopia (blue-blind)
#007C8D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4164ca;
/* rgb */ color: rgb(65, 100, 202);
/* oklch */ color: oklch(53.3% 0.163 266.6);
Tailwind
colors: {
  custom: {
    50: '#858fdb',
    500: '#4164ca',
    950: '#000000',
  },
}
SCSS
$custom: #4164ca;
$custom-light: #858fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4164ca",
  "rgb": {
    "r": 65,
    "g": 100,
    "b": 202
  },
  "hsl": {
    "h": 224.672,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.533,
    "c": 0.16338,
    "h": 266.6
  },
  "luminance": 0.14502
}

Semantic roles & 50–950 ramp

primary
#4164CA
secondary
#D1C296
accent
#B948E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4164CA

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

Preview Lab → · Contrast checker → · Palette generator →

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