#4160E2#4160E2

#4160E2 is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 54.3% C 0.200 H 268.6°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#4160E2
RGBrgb(65, 96, 226)
HSLhsl(228, 74%, 57%)
HSVhsv(228, 71%, 89%)
CMYKcmyk(71.2%, 57.5%, 0%, 11.4%)
CIE-LABlab(45.60, 32.28, -69.44)
CIE-LCHlch(45.60, 76.58, 294.93°)
OKLaboklab(54.34% -0.0049 -0.2003)
OKLCHoklch(54.34% 0.2 268.6)
XYZxyz(20.0856, 14.9785, 73.7694)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4160E2 #E2C341
analogous
#41B1E2 #4160E2 #7341E2
triadic
#4160E2 #E24160 #60E241
tetradic
#4160E2 #E241B1 #E2C341 #41E273
square
#4160E2 #E241B1 #E2C341 #41E273
split-complementary
#4160E2 #E27341 #B1E241
monochromatic
#162E92 #1E3FC7 #4160E2 #768CEA #ABB9F2

Accessibility & contrast

On white

5.25
#4160E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#4160E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4160E2
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4160E2#FFFFFF#000000##FFFFFF
##4160E21.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E6
Deuteranopia (green-blind)
#0065DF
Tritanopia (blue-blind)
#008098
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4160e2;
/* rgb */ color: rgb(65, 96, 226);
/* oklch */ color: oklch(54.3% 0.200 268.6);
Tailwind
colors: {
  custom: {
    50: '#8a8cec',
    500: '#4160e2',
    950: '#000000',
  },
}
SCSS
$custom: #4160e2;
$custom-light: #8a8cec;
$custom-dark: #000000;
JSON
{
  "hex": "#4160e2",
  "rgb": {
    "r": 65,
    "g": 96,
    "b": 226
  },
  "hsl": {
    "h": 228.447,
    "s": 73.516,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54336,
    "c": 0.20034,
    "h": 268.6
  },
  "luminance": 0.14981
}

Semantic roles & 50–950 ramp

primary
#4160E2
secondary
#E0D49F
accent
#CD38F0
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4160E2

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

Preview Lab → · Contrast checker → · Palette generator →

#4160E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva