#4161D9#4161D9

#4161D9 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.8% C 0.187 H 268.2°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#4161D9
RGBrgb(65, 97, 217)
HSLhsl(227, 67%, 55%)
HSVhsv(227, 70%, 85%)
CMYKcmyk(70%, 55.3%, 0%, 14.9%)
CIE-LABlab(45.19, 28.46, -65.00)
CIE-LCHlch(45.19, 70.95, 293.64°)
OKLaboklab(53.82% -0.006 -0.1872)
OKLCHoklch(53.82% 0.187 268.2)
XYZxyz(18.9747, 14.6810, 67.4659)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4161D9 #D9B941
analogous
#41ADD9 #4161D9 #6D41D9
triadic
#4161D9 #D94161 #61D941
tetradic
#4161D9 #D941AD #D9B941 #41D96D
square
#4161D9 #D941AD #D9B941 #41D96D
split-complementary
#4161D9 #D96D41 #ADD941
monochromatic
#1B3185 #2544B8 #4161D9 #748BE3 #A7B6ED

Accessibility & contrast

On white

5.33
#4161D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#4161D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4161D9
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4161D9#FFFFFF#000000##FFFFFF
##4161D91.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DD
Deuteranopia (green-blind)
#0064D7
Tritanopia (blue-blind)
#007E93
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4161d9;
/* rgb */ color: rgb(65, 97, 217);
/* oklch */ color: oklch(53.8% 0.187 268.2);
Tailwind
colors: {
  custom: {
    50: '#888de6',
    500: '#4161d9',
    950: '#000000',
  },
}
SCSS
$custom: #4161d9;
$custom-light: #888de6;
$custom-dark: #000000;
JSON
{
  "hex": "#4161d9",
  "rgb": {
    "r": 65,
    "g": 97,
    "b": 217
  },
  "hsl": {
    "h": 227.368,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.5382,
    "c": 0.1873,
    "h": 268.2
  },
  "luminance": 0.14683
}

Semantic roles & 50–950 ramp

primary
#4161D9
secondary
#DBCD9B
accent
#C63EEA
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4161D9

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

Preview Lab → · Contrast checker → · Palette generator →

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