#4164CF#4164CF

#4164CF is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.7% C 0.170 H 266.9°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#4164CF
RGBrgb(65, 100, 207)
HSLhsl(225, 60%, 53%)
HSVhsv(225, 69%, 81%)
CMYKcmyk(68.6%, 51.7%, 0%, 18.8%)
CIE-LABlab(45.28, 22.98, -59.15)
CIE-LCHlch(45.28, 63.45, 291.23°)
OKLaboklab(53.66% -0.0092 -0.1699)
OKLCHoklch(53.66% 0.17 266.9)
XYZxyz(17.9957, 14.7414, 60.9164)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4164CF #CFAC41
analogous
#41ABCF #4164CF #6541CF
triadic
#4164CF #CF4164 #64CF41
tetradic
#4164CF #CF41AB #CFAC41 #41CF65
square
#4164CF #CF41AB #CFAC41 #41CF65
split-complementary
#4164CF #CF6541 #ABCF41
monochromatic
#1E3477 #2B4AA8 #4164CF #728CDB #A3B4E8

Accessibility & contrast

On white

5.32
#4164CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#4164CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4164CF
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4164CF#FFFFFF#000000##FFFFFF
##4164CF1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2072D3
Deuteranopia (green-blind)
#0065CD
Tritanopia (blue-blind)
#007D90
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4164cf;
/* rgb */ color: rgb(65, 100, 207);
/* oklch */ color: oklch(53.7% 0.170 266.9);
Tailwind
colors: {
  custom: {
    50: '#868fde',
    500: '#4164cf',
    950: '#000000',
  },
}
SCSS
$custom: #4164cf;
$custom-light: #868fde;
$custom-dark: #000000;
JSON
{
  "hex": "#4164cf",
  "rgb": {
    "r": 65,
    "g": 100,
    "b": 207
  },
  "hsl": {
    "h": 225.211,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.53661,
    "c": 0.17019,
    "h": 266.9
  },
  "luminance": 0.14743
}

Semantic roles & 50–950 ramp

primary
#4164CF
secondary
#D4C597
accent
#BC45E3
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4164CF

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

Preview Lab → · Contrast checker → · Palette generator →

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