#4162E0#4162E0

#4162E0 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.6% C 0.195 H 268.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#4162E0
RGBrgb(65, 98, 224)
HSLhsl(228, 72%, 57%)
HSVhsv(228, 71%, 88%)
CMYKcmyk(71%, 56.3%, 0%, 12.2%)
CIE-LABlab(45.96, 30.32, -67.73)
CIE-LCHlch(45.96, 74.21, 294.11°)
OKLaboklab(54.56% -0.0065 -0.1952)
OKLCHoklch(54.56% 0.195 268.1)
XYZxyz(19.9975, 15.2389, 72.3941)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4162E0 #E0BF41
analogous
#41B2E0 #4162E0 #7041E0
triadic
#4162E0 #E04162 #62E041
tetradic
#4162E0 #E041B2 #E0BF41 #41E070
square
#4162E0 #E041B2 #E0BF41 #41E070
split-complementary
#4162E0 #E07041 #B2E041
monochromatic
#17308F #2042C4 #4162E0 #768DE9 #AAB9F1

Accessibility & contrast

On white

5.19
#4162E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#4162E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4162E0
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4162E0#FFFFFF#000000##FFFFFF
##4162E01.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E4
Deuteranopia (green-blind)
#0066DE
Tritanopia (blue-blind)
#008197
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4162e0;
/* rgb */ color: rgb(65, 98, 224);
/* oklch */ color: oklch(54.6% 0.195 268.1);
Tailwind
colors: {
  custom: {
    50: '#898eeb',
    500: '#4162e0',
    950: '#000000',
  },
}
SCSS
$custom: #4162e0;
$custom-light: #898eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#4162e0",
  "rgb": {
    "r": 65,
    "g": 98,
    "b": 224
  },
  "hsl": {
    "h": 227.547,
    "s": 71.946,
    "l": 56.667
  },
  "oklch": {
    "l": 0.54555,
    "c": 0.19533,
    "h": 268.1
  },
  "luminance": 0.15241
}

Semantic roles & 50–950 ramp

primary
#4162E0
secondary
#DFD19E
accent
#C939EF
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4162E0

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

Preview Lab → · Contrast checker → · Palette generator →

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