#4160D5#4160D5

#4160D5 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.3% C 0.183 H 268.3°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#4160D5
RGBrgb(65, 96, 213)
HSLhsl(227, 64%, 55%)
HSVhsv(227, 69%, 84%)
CMYKcmyk(69.5%, 54.9%, 0%, 16.5%)
CIE-LABlab(44.65, 27.66, -63.60)
CIE-LCHlch(44.65, 69.36, 293.51°)
OKLaboklab(53.32% -0.0054 -0.1831)
OKLCHoklch(53.32% 0.183 268.3)
XYZxyz(18.3689, 14.2918, 64.7284)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4160D5 #D5B641
analogous
#41AAD5 #4160D5 #6C41D5
triadic
#4160D5 #D54160 #60D541
tetradic
#4160D5 #D541AA #D5B641 #41D56C
square
#4160D5 #D541AA #D5B641 #41D56C
split-complementary
#4160D5 #D56C41 #AAD541
monochromatic
#1C317F #2744B2 #4160D5 #738AE0 #A5B4EB

Accessibility & contrast

On white

5.44
#4160D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#4160D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4160D5
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4160D5#FFFFFF#000000##FFFFFF
##4160D51.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4160d5;
/* rgb */ color: rgb(65, 96, 213);
/* oklch */ color: oklch(53.3% 0.183 268.3);
Tailwind
colors: {
  custom: {
    50: '#878ce3',
    500: '#4160d5',
    950: '#000000',
  },
}
SCSS
$custom: #4160d5;
$custom-light: #878ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#4160d5",
  "rgb": {
    "r": 65,
    "g": 96,
    "b": 213
  },
  "hsl": {
    "h": 227.432,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53319,
    "c": 0.18318,
    "h": 268.3
  },
  "luminance": 0.14294
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4160D5

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

Preview Lab → · Contrast checker → · Palette generator →

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