#4162D1#4162D1

#4162D1 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.4% C 0.175 H 267.6°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#4162D1
RGBrgb(65, 98, 209)
HSLhsl(226, 61%, 54%)
HSVhsv(226, 69%, 82%)
CMYKcmyk(68.9%, 53.1%, 0%, 18%)
CIE-LABlab(44.89, 24.97, -60.93)
CIE-LCHlch(44.89, 65.84, 292.28°)
OKLaboklab(53.41% -0.0073 -0.1752)
OKLCHoklch(53.41% 0.175 267.6)
XYZxyz(18.0523, 14.4608, 62.1491)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4162D1 #D1B041
analogous
#41AAD1 #4162D1 #6841D1
triadic
#4162D1 #D14162 #62D141
tetradic
#4162D1 #D141AA #D1B041 #41D168
square
#4162D1 #D141AA #D1B041 #41D168
split-complementary
#4162D1 #D16841 #AAD141
monochromatic
#1E337A #2947AB #4162D1 #728BDD #A4B3E9

Accessibility & contrast

On white

5.39
#4162D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#4162D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4162D1
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4162D1#FFFFFF#000000##FFFFFF
##4162D11.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1271D5
Deuteranopia (green-blind)
#0064CF
Tritanopia (blue-blind)
#007D90
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4162d1;
/* rgb */ color: rgb(65, 98, 209);
/* oklch */ color: oklch(53.4% 0.175 267.6);
Tailwind
colors: {
  custom: {
    50: '#868ee0',
    500: '#4162d1',
    950: '#000000',
  },
}
SCSS
$custom: #4162d1;
$custom-light: #868ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#4162d1",
  "rgb": {
    "r": 65,
    "g": 98,
    "b": 209
  },
  "hsl": {
    "h": 226.25,
    "s": 61.017,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53409,
    "c": 0.17536,
    "h": 267.6
  },
  "luminance": 0.14463
}

Semantic roles & 50–950 ramp

primary
#4162D1
secondary
#D6C898
accent
#BF44E4
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0D0C15
muted
#7D7D83

Preview Lab

Preview with #4162D1

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

Preview Lab → · Contrast checker → · Palette generator →

#4162D1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva