#4160D1#4160D1

#4160D1 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.0% C 0.178 H 268.2°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#4160D1
RGBrgb(65, 96, 209)
HSLhsl(227, 61%, 54%)
HSVhsv(227, 69%, 82%)
CMYKcmyk(68.9%, 54.1%, 0%, 18%)
CIE-LABlab(44.36, 26.24, -61.77)
CIE-LCHlch(44.36, 67.11, 293.01°)
OKLaboklab(53.02% -0.0056 -0.1777)
OKLCHoklch(53.02% 0.178 268.2)
XYZxyz(17.8675, 14.0912, 62.0875)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4160D1 #D1B241
analogous
#41A8D1 #4160D1 #6A41D1
triadic
#4160D1 #D14160 #60D141
tetradic
#4160D1 #D141A8 #D1B241 #41D16A
square
#4160D1 #D141A8 #D1B241 #41D16A
split-complementary
#4160D1 #D16A41 #A8D141
monochromatic
#1E317A #2945AB #4160D1 #7289DD #A4B2E9

Accessibility & contrast

On white

5.50
#4160D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#4160D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4160D1
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4160D1#FFFFFF#000000##FFFFFF
##4160D11.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0270D5
Deuteranopia (green-blind)
#0063CF
Tritanopia (blue-blind)
#007B8F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4160d1;
/* rgb */ color: rgb(65, 96, 209);
/* oklch */ color: oklch(53.0% 0.178 268.2);
Tailwind
colors: {
  custom: {
    50: '#868ce0',
    500: '#4160d1',
    950: '#000000',
  },
}
SCSS
$custom: #4160d1;
$custom-light: #868ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#4160d1",
  "rgb": {
    "r": 65,
    "g": 96,
    "b": 209
  },
  "hsl": {
    "h": 227.083,
    "s": 61.017,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53015,
    "c": 0.17782,
    "h": 268.2
  },
  "luminance": 0.14093
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4160D1

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

Preview Lab → · Contrast checker → · Palette generator →

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