#4162D3#4162D3

#4162D3 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.6% C 0.178 H 267.7°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#4162D3
RGBrgb(65, 98, 211)
HSLhsl(226, 62%, 54%)
HSVhsv(226, 69%, 83%)
CMYKcmyk(69.2%, 53.6%, 0%, 17.3%)
CIE-LABlab(45.03, 25.68, -61.85)
CIE-LCHlch(45.03, 66.97, 292.55°)
OKLaboklab(53.56% -0.0072 -0.1779)
OKLCHoklch(53.56% 0.178 267.7)
XYZxyz(18.3015, 14.5605, 63.4613)
Luminance0.1456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4162D3 #D3B241
analogous
#41ABD3 #4162D3 #6941D3
triadic
#4162D3 #D34162 #62D341
tetradic
#4162D3 #D341AB #D3B241 #41D369
square
#4162D3 #D341AB #D3B241 #41D369
split-complementary
#4162D3 #D36941 #ABD341
monochromatic
#1D337D #2847AE #4162D3 #738BDF #A4B4EA

Accessibility & contrast

On white

5.37
#4162D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#4162D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4162D3
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4162D3#FFFFFF#000000##FFFFFF
##4162D31.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A72D7
Deuteranopia (green-blind)
#0064D1
Tritanopia (blue-blind)
#007D91
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4162d3;
/* rgb */ color: rgb(65, 98, 211);
/* oklch */ color: oklch(53.6% 0.178 267.7);
Tailwind
colors: {
  custom: {
    50: '#878ee1',
    500: '#4162d3',
    950: '#000000',
  },
}
SCSS
$custom: #4162d3;
$custom-light: #878ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#4162d3",
  "rgb": {
    "r": 65,
    "g": 98,
    "b": 211
  },
  "hsl": {
    "h": 226.438,
    "s": 62.393,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53559,
    "c": 0.17805,
    "h": 267.7
  },
  "luminance": 0.14562
}

Semantic roles & 50–950 ramp

primary
#4162D3
secondary
#D7C999
accent
#C142E5
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0D0C15
muted
#7D7D83

Preview Lab

Preview with #4162D3

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

Preview Lab → · Contrast checker → · Palette generator →

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