#4161D6#4161D6

#4161D6 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.6% C 0.183 H 268.1°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#4161D6
RGBrgb(65, 97, 214)
HSLhsl(227, 65%, 55%)
HSVhsv(227, 70%, 84%)
CMYKcmyk(69.6%, 54.7%, 0%, 16.1%)
CIE-LABlab(44.98, 27.39, -63.64)
CIE-LCHlch(44.98, 69.28, 293.29°)
OKLaboklab(53.59% -0.0062 -0.1832)
OKLCHoklch(53.59% 0.183 268.1)
XYZxyz(18.5881, 14.5264, 65.4296)
Luminance0.1453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4161D6 #D6B641
analogous
#41ACD6 #4161D6 #6C41D6
triadic
#4161D6 #D64161 #61D641
tetradic
#4161D6 #D641AC #D6B641 #41D66C
square
#4161D6 #D641AC #D6B641 #41D66C
split-complementary
#4161D6 #D66C41 #ACD641
monochromatic
#1C3181 #2745B3 #4161D6 #738BE1 #A6B5EC

Accessibility & contrast

On white

5.38
#4161D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#4161D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4161D6
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4161D6#FFFFFF#000000##FFFFFF
##4161D61.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DA
Deuteranopia (green-blind)
#0064D4
Tritanopia (blue-blind)
#007D92
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4161d6;
/* rgb */ color: rgb(65, 97, 214);
/* oklch */ color: oklch(53.6% 0.183 268.1);
Tailwind
colors: {
  custom: {
    50: '#878de3',
    500: '#4161d6',
    950: '#000000',
  },
}
SCSS
$custom: #4161d6;
$custom-light: #878de3;
$custom-dark: #000000;
JSON
{
  "hex": "#4161d6",
  "rgb": {
    "r": 65,
    "g": 97,
    "b": 214
  },
  "hsl": {
    "h": 227.114,
    "s": 64.502,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5359,
    "c": 0.18329,
    "h": 268.1
  },
  "luminance": 0.14528
}

Semantic roles & 50–950 ramp

primary
#4161D6
secondary
#D9CB9A
accent
#C440E7
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4161D6

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

Preview Lab → · Contrast checker → · Palette generator →

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