#4164CD#4164CD

#4164CD is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.5% C 0.167 H 266.8°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#4164CD
RGBrgb(65, 100, 205)
HSLhsl(225, 58%, 53%)
HSVhsv(225, 68%, 80%)
CMYKcmyk(68.3%, 51.2%, 0%, 19.6%)
CIE-LABlab(45.14, 22.26, -58.22)
CIE-LCHlch(45.14, 62.33, 290.93°)
OKLaboklab(53.52% -0.0094 -0.1672)
OKLCHoklch(53.52% 0.167 266.8)
XYZxyz(17.7528, 14.6442, 59.6368)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4164CD #CDAA41
analogous
#41AACD #4164CD #6441CD
triadic
#4164CD #CD4164 #64CD41
tetradic
#4164CD #CD41AA #CDAA41 #41CD64
square
#4164CD #CD41AA #CDAA41 #41CD64
split-complementary
#4164CD #CD6441 #AACD41
monochromatic
#1F3475 #2C4AA5 #4164CD #718CDA #A2B3E6

Accessibility & contrast

On white

5.34
#4164CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#4164CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4164CD
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4164CD#FFFFFF#000000##FFFFFF
##4164CD1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2372D1
Deuteranopia (green-blind)
#0065CB
Tritanopia (blue-blind)
#007D8F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4164cd;
/* rgb */ color: rgb(65, 100, 205);
/* oklch */ color: oklch(53.5% 0.167 266.8);
Tailwind
colors: {
  custom: {
    50: '#858fdd',
    500: '#4164cd',
    950: '#000000',
  },
}
SCSS
$custom: #4164cd;
$custom-light: #858fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4164cd",
  "rgb": {
    "r": 65,
    "g": 100,
    "b": 205
  },
  "hsl": {
    "h": 225,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.53516,
    "c": 0.16747,
    "h": 266.8
  },
  "luminance": 0.14646
}

Semantic roles & 50–950 ramp

primary
#4164CD
secondary
#D3C497
accent
#BB46E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4164CD

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

Preview Lab → · Contrast checker → · Palette generator →

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