#4161D5#4161D5

#4161D5 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.5% C 0.182 H 268.0°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#4161D5
RGBrgb(65, 97, 213)
HSLhsl(227, 64%, 55%)
HSVhsv(227, 69%, 84%)
CMYKcmyk(69.5%, 54.5%, 0%, 16.5%)
CIE-LABlab(44.91, 27.03, -63.18)
CIE-LCHlch(44.91, 68.72, 293.16°)
OKLaboklab(53.51% -0.0062 -0.1819)
OKLCHoklch(53.51% 0.182 268)
XYZxyz(18.4608, 14.4755, 64.7590)
Luminance0.1448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4161D5 #D5B541
analogous
#41ABD5 #4161D5 #6B41D5
triadic
#4161D5 #D54161 #61D541
tetradic
#4161D5 #D541AB #D5B541 #41D56B
square
#4161D5 #D541AB #D5B541 #41D56B
split-complementary
#4161D5 #D56B41 #ABD541
monochromatic
#1C327F #2745B2 #4161D5 #738BE0 #A5B4EB

Accessibility & contrast

On white

5.39
#4161D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#4161D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4161D5
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4161D5#FFFFFF#000000##FFFFFF
##4161D51.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071D9
Deuteranopia (green-blind)
#0064D3
Tritanopia (blue-blind)
#007D91
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4161d5;
/* rgb */ color: rgb(65, 97, 213);
/* oklch */ color: oklch(53.5% 0.182 268.0);
Tailwind
colors: {
  custom: {
    50: '#878de3',
    500: '#4161d5',
    950: '#000000',
  },
}
SCSS
$custom: #4161d5;
$custom-light: #878de3;
$custom-dark: #000000;
JSON
{
  "hex": "#4161d5",
  "rgb": {
    "r": 65,
    "g": 97,
    "b": 213
  },
  "hsl": {
    "h": 227.027,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53514,
    "c": 0.18197,
    "h": 268
  },
  "luminance": 0.14477
}

Semantic roles & 50–950 ramp

primary
#4161D5
secondary
#D8CB9A
accent
#C341E7
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C15
muted
#7E7D84

Preview Lab

Preview with #4161D5

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

Preview Lab → · Contrast checker → · Palette generator →

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