#4162D2#4162D2

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

Color values

HEX#4162D2
RGBrgb(65, 98, 210)
HSLhsl(226, 62%, 54%)
HSVhsv(226, 69%, 82%)
CMYKcmyk(69%, 53.3%, 0%, 17.6%)
CIE-LABlab(44.96, 25.32, -61.39)
CIE-LCHlch(44.96, 66.40, 292.42°)
OKLaboklab(53.48% -0.0072 -0.1766)
OKLCHoklch(53.48% 0.177 267.6)
XYZxyz(18.1765, 14.5105, 62.8032)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4162D2 #D2B141
analogous
#41ABD2 #4162D2 #6941D2
triadic
#4162D2 #D24162 #62D241
tetradic
#4162D2 #D241AB #D2B141 #41D269
square
#4162D2 #D241AB #D2B141 #41D269
split-complementary
#4162D2 #D26941 #ABD241
monochromatic
#1D337B #2947AD #4162D2 #728BDE #A4B4E9

Accessibility & contrast

On white

5.38
#4162D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#4162D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4162D2
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4162D2#FFFFFF#000000##FFFFFF
##4162D21.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E71D6
Deuteranopia (green-blind)
#0064D0
Tritanopia (blue-blind)
#007D90
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4162d2;
/* rgb */ color: rgb(65, 98, 210);
/* oklch */ color: oklch(53.5% 0.177 267.6);
Tailwind
colors: {
  custom: {
    50: '#868ee1',
    500: '#4162d2',
    950: '#000000',
  },
}
SCSS
$custom: #4162d2;
$custom-light: #868ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#4162d2",
  "rgb": {
    "r": 65,
    "g": 98,
    "b": 210
  },
  "hsl": {
    "h": 226.345,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53484,
    "c": 0.17671,
    "h": 267.6
  },
  "luminance": 0.14512
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4162D2

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

Preview Lab → · Contrast checker → · Palette generator →

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