#4160D9#4160D9

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

Color values

HEX#4160D9
RGBrgb(65, 96, 217)
HSLhsl(228, 67%, 55%)
HSVhsv(228, 70%, 85%)
CMYKcmyk(70%, 55.8%, 0%, 14.9%)
CIE-LABlab(44.94, 29.09, -65.41)
CIE-LCHlch(44.94, 71.59, 293.97°)
OKLaboklab(53.63% -0.0052 -0.1884)
OKLCHoklch(53.63% 0.189 268.4)
XYZxyz(18.8829, 14.4974, 67.4353)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4160D9 #D9BA41
analogous
#41ACD9 #4160D9 #6E41D9
triadic
#4160D9 #D94160 #60D941
tetradic
#4160D9 #D941AC #D9BA41 #41D96E
square
#4160D9 #D941AC #D9BA41 #41D96E
split-complementary
#4160D9 #D96E41 #ACD941
monochromatic
#1B3085 #2543B8 #4160D9 #748BE3 #A7B5ED

Accessibility & contrast

On white

5.38
#4160D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#4160D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4160D9
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4160D9#FFFFFF#000000##FFFFFF
##4160D91.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4160d9;
/* rgb */ color: rgb(65, 96, 217);
/* oklch */ color: oklch(53.6% 0.189 268.4);
Tailwind
colors: {
  custom: {
    50: '#888ce6',
    500: '#4160d9',
    950: '#000000',
  },
}
SCSS
$custom: #4160d9;
$custom-light: #888ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#4160d9",
  "rgb": {
    "r": 65,
    "g": 96,
    "b": 217
  },
  "hsl": {
    "h": 227.763,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53628,
    "c": 0.18851,
    "h": 268.4
  },
  "luminance": 0.14499
}

Semantic roles & 50–950 ramp

primary
#4160D9
secondary
#DBCE9B
accent
#C73EEA
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4160D9

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

Preview Lab → · Contrast checker → · Palette generator →

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