#4161D1#4161D1

#4161D1 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.2% C 0.177 H 267.9°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#4161D1
RGBrgb(65, 97, 209)
HSLhsl(227, 61%, 54%)
HSVhsv(227, 69%, 82%)
CMYKcmyk(68.9%, 53.6%, 0%, 18%)
CIE-LABlab(44.62, 25.60, -61.35)
CIE-LCHlch(44.62, 66.48, 292.65°)
OKLaboklab(53.21% -0.0065 -0.1765)
OKLCHoklch(53.21% 0.177 267.9)
XYZxyz(17.9593, 14.2749, 62.1181)
Luminance0.1428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4161D1 #D1B141
analogous
#41A9D1 #4161D1 #6941D1
triadic
#4161D1 #D14161 #61D141
tetradic
#4161D1 #D141A9 #D1B141 #41D169
square
#4161D1 #D141A9 #D1B141 #41D169
split-complementary
#4161D1 #D16941 #A9D141
monochromatic
#1E327A #2946AB #4161D1 #728ADD #A4B3E9

Accessibility & contrast

On white

5.45
#4161D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#4161D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4161D1
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4161D1#FFFFFF#000000##FFFFFF
##4161D11.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B70D5
Deuteranopia (green-blind)
#0063CF
Tritanopia (blue-blind)
#007C8F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4161d1;
/* rgb */ color: rgb(65, 97, 209);
/* oklch */ color: oklch(53.2% 0.177 267.9);
Tailwind
colors: {
  custom: {
    50: '#868de0',
    500: '#4161d1',
    950: '#000000',
  },
}
SCSS
$custom: #4161d1;
$custom-light: #868de0;
$custom-dark: #000000;
JSON
{
  "hex": "#4161d1",
  "rgb": {
    "r": 65,
    "g": 97,
    "b": 209
  },
  "hsl": {
    "h": 226.667,
    "s": 61.017,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53211,
    "c": 0.17659,
    "h": 267.9
  },
  "luminance": 0.14277
}

Semantic roles & 50–950 ramp

primary
#4161D1
secondary
#D6C898
accent
#C044E4
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0D0C15
muted
#7D7D83

Preview Lab

Preview with #4161D1

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

Preview Lab → · Contrast checker → · Palette generator →

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