#4164BF#4164BF

#4164BF is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.5% C 0.148 H 265.7°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#4164BF
RGBrgb(65, 100, 191)
HSLhsl(223, 50%, 50%)
HSVhsv(223, 66%, 75%)
CMYKcmyk(66%, 47.6%, 0%, 25.1%)
CIE-LABlab(44.23, 17.25, -51.61)
CIE-LCHlch(44.23, 54.42, 288.49°)
OKLaboklab(52.53% -0.0111 -0.1478)
OKLCHoklch(52.53% 0.148 265.7)
XYZxyz(16.1379, 13.9982, 51.1316)
Luminance0.1400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4164BF #BF9C41
analogous
#41A3BF #4164BF #5D41BF
triadic
#4164BF #BF4164 #64BF41
tetradic
#4164BF #BF41A3 #BF9C41 #41BF5D
square
#4164BF #BF41A3 #BF9C41 #41BF5D
split-complementary
#4164BF #BF5D41 #A3BF41
monochromatic
#223464 #314C92 #4164BF #6F89CE #9DAFDE

Accessibility & contrast

On white

5.53
#4164BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#4164BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4164BF
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4164BF#FFFFFF#000000##FFFFFF
##4164BF1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356FC2
Deuteranopia (green-blind)
#1A63BD
Tritanopia (blue-blind)
#007988
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4164bf;
/* rgb */ color: rgb(65, 100, 191);
/* oklch */ color: oklch(52.5% 0.148 265.7);
Tailwind
colors: {
  custom: {
    50: '#838fd3',
    500: '#4164bf',
    950: '#000000',
  },
}
SCSS
$custom: #4164bf;
$custom-light: #838fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#4164bf",
  "rgb": {
    "r": 65,
    "g": 100,
    "b": 191
  },
  "hsl": {
    "h": 223.333,
    "s": 49.606,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52529,
    "c": 0.14817,
    "h": 265.7
  },
  "luminance": 0.14
}

Semantic roles & 50–950 ramp

primary
#4164BF
secondary
#CABA92
accent
#B34FD9
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4164BF

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

Preview Lab → · Contrast checker → · Palette generator →

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