#4164CB#4164CB

#4164CB is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.4% C 0.165 H 266.7°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#4164CB
RGBrgb(65, 100, 203)
HSLhsl(225, 57%, 53%)
HSVhsv(225, 68%, 80%)
CMYKcmyk(68%, 50.7%, 0%, 20.4%)
CIE-LABlab(45.01, 21.55, -57.29)
CIE-LCHlch(45.01, 61.20, 290.61°)
OKLaboklab(53.37% -0.0096 -0.1645)
OKLCHoklch(53.37% 0.165 266.7)
XYZxyz(17.5129, 14.5482, 58.3735)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4164CB #CBA841
analogous
#41A9CB #4164CB #6341CB
triadic
#4164CB #CB4164 #64CB41
tetradic
#4164CB #CB41A9 #CBA841 #41CB63
square
#4164CB #CB41A9 #CBA841 #41CB63
split-complementary
#4164CB #CB6341 #A9CB41
monochromatic
#1F3472 #2C4AA2 #4164CB #718BD8 #A1B2E5

Accessibility & contrast

On white

5.37
#4164CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#4164CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4164CB
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4164CB#FFFFFF#000000##FFFFFF
##4164CB1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2771CF
Deuteranopia (green-blind)
#0065C9
Tritanopia (blue-blind)
#007C8E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4164cb;
/* rgb */ color: rgb(65, 100, 203);
/* oklch */ color: oklch(53.4% 0.165 266.7);
Tailwind
colors: {
  custom: {
    50: '#858fdb',
    500: '#4164cb',
    950: '#000000',
  },
}
SCSS
$custom: #4164cb;
$custom-light: #858fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4164cb",
  "rgb": {
    "r": 65,
    "g": 100,
    "b": 203
  },
  "hsl": {
    "h": 224.783,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.53372,
    "c": 0.16474,
    "h": 266.7
  },
  "luminance": 0.1455
}

Semantic roles & 50–950 ramp

primary
#4164CB
secondary
#D2C396
accent
#BA48E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4164CB

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

Preview Lab → · Contrast checker → · Palette generator →

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