#4164C8#4164C8

#4164C8 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.2% C 0.161 H 266.5°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#4164C8
RGBrgb(65, 100, 200)
HSLhsl(224, 55%, 52%)
HSVhsv(224, 68%, 78%)
CMYKcmyk(67.5%, 50%, 0%, 21.6%)
CIE-LABlab(44.81, 20.47, -55.88)
CIE-LCHlch(44.81, 59.51, 290.12°)
OKLaboklab(53.16% -0.0099 -0.1603)
OKLCHoklch(53.16% 0.161 266.5)
XYZxyz(17.1589, 14.4066, 56.5089)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4164C8 #C8A541
analogous
#41A8C8 #4164C8 #6141C8
triadic
#4164C8 #C84164 #64C841
tetradic
#4164C8 #C841A8 #C8A541 #41C861
square
#4164C8 #C841A8 #C8A541 #41C861
split-complementary
#4164C8 #C86141 #A8C841
monochromatic
#20346F #2E4B9E #4164C8 #708BD6 #A0B1E3

Accessibility & contrast

On white

5.41
#4164C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#4164C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4164C8
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4164C8#FFFFFF#000000##FFFFFF
##4164C81.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B70CC
Deuteranopia (green-blind)
#0064C6
Tritanopia (blue-blind)
#007B8C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4164c8;
/* rgb */ color: rgb(65, 100, 200);
/* oklch */ color: oklch(53.2% 0.161 266.5);
Tailwind
colors: {
  custom: {
    50: '#848fd9',
    500: '#4164c8',
    950: '#000000',
  },
}
SCSS
$custom: #4164c8;
$custom-light: #848fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4164c8",
  "rgb": {
    "r": 65,
    "g": 100,
    "b": 200
  },
  "hsl": {
    "h": 224.444,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.53157,
    "c": 0.16063,
    "h": 266.5
  },
  "luminance": 0.14408
}

Semantic roles & 50–950 ramp

primary
#4164C8
secondary
#D0C195
accent
#B849DE
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4164C8

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

Preview Lab → · Contrast checker → · Palette generator →

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