#4164D3#4164D3

#4164D3 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.0% C 0.176 H 267.1°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#4164D3
RGBrgb(65, 100, 211)
HSLhsl(226, 62%, 54%)
HSVhsv(226, 69%, 83%)
CMYKcmyk(69.2%, 52.6%, 0%, 17.3%)
CIE-LABlab(45.55, 24.41, -61.00)
CIE-LCHlch(45.55, 65.70, 291.81°)
OKLaboklab(53.96% -0.0088 -0.1754)
OKLCHoklch(53.96% 0.176 267.1)
XYZxyz(18.4909, 14.9395, 63.5245)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4164D3 #D3B041
analogous
#41ADD3 #4164D3 #6741D3
triadic
#4164D3 #D34164 #64D341
tetradic
#4164D3 #D341AD #D3B041 #41D367
square
#4164D3 #D341AD #D3B041 #41D367
split-complementary
#4164D3 #D36741 #ADD341
monochromatic
#1D347D #2849AE #4164D3 #738DDF #A4B5EA

Accessibility & contrast

On white

5.27
#4164D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#4164D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4164D3
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4164D3#FFFFFF#000000##FFFFFF
##4164D31.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1773D7
Deuteranopia (green-blind)
#0065D1
Tritanopia (blue-blind)
#007F92
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4164d3;
/* rgb */ color: rgb(65, 100, 211);
/* oklch */ color: oklch(54.0% 0.176 267.1);
Tailwind
colors: {
  custom: {
    50: '#878fe1',
    500: '#4164d3',
    950: '#000000',
  },
}
SCSS
$custom: #4164d3;
$custom-light: #878fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#4164d3",
  "rgb": {
    "r": 65,
    "g": 100,
    "b": 211
  },
  "hsl": {
    "h": 225.616,
    "s": 62.393,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53955,
    "c": 0.1756,
    "h": 267.1
  },
  "luminance": 0.14941
}

Semantic roles & 50–950 ramp

primary
#4164D3
secondary
#D7C899
accent
#BE42E5
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0D0C15
muted
#7D7D83

Preview Lab

Preview with #4164D3

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

Preview Lab → · Contrast checker → · Palette generator →

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