#4161E6#4161E6

#4161E6 is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 54.8% C 0.204 H 268.4°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4161E6
RGBrgb(65, 97, 230)
HSLhsl(228, 77%, 58%)
HSVhsv(228, 72%, 90%)
CMYKcmyk(71.7%, 57.8%, 0%, 9.8%)
CIE-LABlab(46.16, 33.07, -70.81)
CIE-LCHlch(46.16, 78.15, 295.03°)
OKLaboklab(54.84% -0.0055 -0.2043)
OKLCHoklch(54.84% 0.204 268.4)
XYZxyz(20.7327, 15.3842, 76.7244)
Luminance0.1539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4161E6 #E6C641
analogous
#41B3E6 #4161E6 #7441E6
triadic
#4161E6 #E64161 #61E641
tetradic
#4161E6 #E641B3 #E6C641 #41E674
square
#4161E6 #E641B3 #E6C641 #41E674
split-complementary
#4161E6 #E67441 #B3E641
monochromatic
#142E99 #1B3ECF #4161E6 #778EED #ADBBF4

Accessibility & contrast

On white

5.15
#4161E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#4161E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4161E6
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4161E6#FFFFFF#000000##FFFFFF
##4161E61.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4161e6;
/* rgb */ color: rgb(65, 97, 230);
/* oklch */ color: oklch(54.8% 0.204 268.4);
Tailwind
colors: {
  custom: {
    50: '#8b8def',
    500: '#4161e6',
    950: '#000000',
  },
}
SCSS
$custom: #4161e6;
$custom-light: #8b8def;
$custom-dark: #000000;
JSON
{
  "hex": "#4161e6",
  "rgb": {
    "r": 65,
    "g": 97,
    "b": 230
  },
  "hsl": {
    "h": 228.364,
    "s": 76.744,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54842,
    "c": 0.20435,
    "h": 268.4
  },
  "luminance": 0.15386
}

Semantic roles & 50–950 ramp

primary
#4161E6
secondary
#E2D6A0
accent
#CE35F3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0C17
muted
#7E7D85

Preview Lab

Preview with #4161E6

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

Preview Lab → · Contrast checker → · Palette generator →

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