#4164D2#4164D2

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

Color values

HEX#4164D2
RGBrgb(65, 100, 210)
HSLhsl(226, 62%, 54%)
HSVhsv(226, 69%, 82%)
CMYKcmyk(69%, 52.4%, 0%, 17.6%)
CIE-LABlab(45.48, 24.05, -60.53)
CIE-LCHlch(45.48, 65.14, 291.67°)
OKLaboklab(53.88% -0.0089 -0.174)
OKLCHoklch(53.88% 0.174 267.1)
XYZxyz(18.3660, 14.8895, 62.8663)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4164D2 #D2AF41
analogous
#41ADD2 #4164D2 #6741D2
triadic
#4164D2 #D24164 #64D241
tetradic
#4164D2 #D241AD #D2AF41 #41D267
square
#4164D2 #D241AD #D2AF41 #41D267
split-complementary
#4164D2 #D26741 #ADD241
monochromatic
#1D347B #2949AD #4164D2 #728CDE #A4B5E9

Accessibility & contrast

On white

5.28
#4164D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#4164D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4164D2
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4164D2#FFFFFF#000000##FFFFFF
##4164D21.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A73D6
Deuteranopia (green-blind)
#0065D0
Tritanopia (blue-blind)
#007E91
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4164d2;
/* rgb */ color: rgb(65, 100, 210);
/* oklch */ color: oklch(53.9% 0.174 267.1);
Tailwind
colors: {
  custom: {
    50: '#868fe0',
    500: '#4164d2',
    950: '#000000',
  },
}
SCSS
$custom: #4164d2;
$custom-light: #868fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#4164d2",
  "rgb": {
    "r": 65,
    "g": 100,
    "b": 210
  },
  "hsl": {
    "h": 225.517,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53881,
    "c": 0.17425,
    "h": 267.1
  },
  "luminance": 0.14891
}

Semantic roles & 50–950 ramp

primary
#4164D2
secondary
#D6C798
accent
#BE43E5
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0D0C15
muted
#7D7D83

Preview Lab

Preview with #4164D2

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

Preview Lab → · Contrast checker → · Palette generator →

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