#4164BC#4164BC

#4164BC is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.3% C 0.144 H 265.4°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#4164BC
RGBrgb(65, 100, 188)
HSLhsl(223, 49%, 50%)
HSVhsv(223, 65%, 74%)
CMYKcmyk(65.4%, 46.8%, 0%, 26.3%)
CIE-LABlab(44.04, 16.18, -50.17)
CIE-LCHlch(44.04, 52.72, 287.88°)
OKLaboklab(52.33% -0.0115 -0.1435)
OKLCHoklch(52.33% 0.144 265.4)
XYZxyz(15.8111, 13.8675, 49.4107)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4164BC #BC9941
analogous
#41A2BC #4164BC #5C41BC
triadic
#4164BC #BC4164 #64BC41
tetradic
#4164BC #BC41A2 #BC9941 #41BC5C
square
#4164BC #BC41A2 #BC9941 #41BC5C
split-complementary
#4164BC #BC5C41 #A2BC41
monochromatic
#223461 #314C8F #4164BC #6E89CD #9BAEDC

Accessibility & contrast

On white

5.56
#4164BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#4164BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4164BC
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4164BC#FFFFFF#000000##FFFFFF
##4164BC1.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386EBF
Deuteranopia (green-blind)
#2063BA
Tritanopia (blue-blind)
#007887
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4164bc;
/* rgb */ color: rgb(65, 100, 188);
/* oklch */ color: oklch(52.3% 0.144 265.4);
Tailwind
colors: {
  custom: {
    50: '#828fd1',
    500: '#4164bc',
    950: '#000000',
  },
}
SCSS
$custom: #4164bc;
$custom-light: #828fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4164bc",
  "rgb": {
    "r": 65,
    "g": 100,
    "b": 188
  },
  "hsl": {
    "h": 222.927,
    "s": 48.617,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52325,
    "c": 0.14399,
    "h": 265.4
  },
  "luminance": 0.13869
}

Semantic roles & 50–950 ramp

primary
#4164BC
secondary
#C9B990
accent
#B150D8
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4164BC

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

Preview Lab → · Contrast checker → · Palette generator →

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