#4160E6#4160E6

#4160E6 is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 54.7% C 0.206 H 268.7°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4160E6
RGBrgb(65, 96, 230)
HSLhsl(229, 77%, 58%)
HSVhsv(229, 72%, 90%)
CMYKcmyk(71.7%, 58.3%, 0%, 9.8%)
CIE-LABlab(45.91, 33.69, -71.21)
CIE-LCHlch(45.91, 78.78, 295.32°)
OKLaboklab(54.66% -0.0048 -0.2055)
OKLCHoklch(54.66% 0.206 268.7)
XYZxyz(20.6408, 15.2006, 76.6938)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4160E6 #E6C741
analogous
#41B3E6 #4160E6 #7441E6
triadic
#4160E6 #E64160 #60E641
tetradic
#4160E6 #E641B3 #E6C741 #41E674
square
#4160E6 #E641B3 #E6C741 #41E674
split-complementary
#4160E6 #E67441 #B3E641
monochromatic
#142D99 #1B3DCF #4160E6 #778DED #ADBBF4

Accessibility & contrast

On white

5.20
#4160E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#4160E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4160E6
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4160E6#FFFFFF#000000##FFFFFF
##4160E61.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EA
Deuteranopia (green-blind)
#0065E3
Tritanopia (blue-blind)
#00829A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4160e6;
/* rgb */ color: rgb(65, 96, 230);
/* oklch */ color: oklch(54.7% 0.206 268.7);
Tailwind
colors: {
  custom: {
    50: '#8b8cef',
    500: '#4160e6',
    950: '#000000',
  },
}
SCSS
$custom: #4160e6;
$custom-light: #8b8cef;
$custom-dark: #000000;
JSON
{
  "hex": "#4160e6",
  "rgb": {
    "r": 65,
    "g": 96,
    "b": 230
  },
  "hsl": {
    "h": 228.727,
    "s": 76.744,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54657,
    "c": 0.20553,
    "h": 268.7
  },
  "luminance": 0.15203
}

Semantic roles & 50–950 ramp

primary
#4160E6
secondary
#E2D6A0
accent
#CF35F3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #4160E6

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

Preview Lab → · Contrast checker → · Palette generator →

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