#4162CE#4162CE

#4162CE is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.2% C 0.171 H 267.5°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#4162CE
RGBrgb(65, 98, 206)
HSLhsl(226, 59%, 53%)
HSVhsv(226, 68%, 81%)
CMYKcmyk(68.4%, 52.4%, 0%, 19.2%)
CIE-LABlab(44.68, 23.89, -59.54)
CIE-LCHlch(44.68, 64.16, 291.87°)
OKLaboklab(53.19% -0.0076 -0.1711)
OKLCHoklch(53.19% 0.171 267.5)
XYZxyz(17.6844, 14.3137, 60.2114)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4162CE #CEAD41
analogous
#41A9CE #4162CE #6641CE
triadic
#4162CE #CE4162 #62CE41
tetradic
#4162CE #CE41A9 #CEAD41 #41CE66
square
#4162CE #CE41A9 #CEAD41 #41CE66
split-complementary
#4162CE #CE6641 #A9CE41
monochromatic
#1E3376 #2B48A7 #4162CE #728ADB #A2B2E7

Accessibility & contrast

On white

5.44
#4162CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#4162CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4162CE
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4162CE#FFFFFF#000000##FFFFFF
##4162CE1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A70D2
Deuteranopia (green-blind)
#0064CC
Tritanopia (blue-blind)
#007C8E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4162ce;
/* rgb */ color: rgb(65, 98, 206);
/* oklch */ color: oklch(53.2% 0.171 267.5);
Tailwind
colors: {
  custom: {
    50: '#868ede',
    500: '#4162ce',
    950: '#000000',
  },
}
SCSS
$custom: #4162ce;
$custom-light: #868ede;
$custom-dark: #000000;
JSON
{
  "hex": "#4162ce",
  "rgb": {
    "r": 65,
    "g": 98,
    "b": 206
  },
  "hsl": {
    "h": 225.957,
    "s": 58.996,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53187,
    "c": 0.1713,
    "h": 267.5
  },
  "luminance": 0.14315
}

Semantic roles & 50–950 ramp

primary
#4162CE
secondary
#D4C697
accent
#BE46E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4162CE

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

Preview Lab → · Contrast checker → · Palette generator →

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