#4160CD#4160CD

#4160CD is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.7% C 0.172 H 268.0°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#4160CD
RGBrgb(65, 96, 205)
HSLhsl(227, 58%, 53%)
HSVhsv(227, 68%, 80%)
CMYKcmyk(68.3%, 53.2%, 0%, 19.6%)
CIE-LABlab(44.08, 24.81, -59.93)
CIE-LCHlch(44.08, 64.86, 292.49°)
OKLaboklab(52.71% -0.0059 -0.1723)
OKLCHoklch(52.71% 0.172 268)
XYZxyz(17.3785, 13.8956, 59.5120)
Luminance0.1390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4160CD #CDAE41
analogous
#41A6CD #4160CD #6841CD
triadic
#4160CD #CD4160 #60CD41
tetradic
#4160CD #CD41A6 #CDAE41 #41CD68
square
#4160CD #CD41A6 #CDAE41 #41CD68
split-complementary
#4160CD #CD6841 #A6CD41
monochromatic
#1F3275 #2C46A5 #4160CD #7189DA #A2B1E6

Accessibility & contrast

On white

5.56
#4160CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#4160CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4160CD
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4160CD#FFFFFF#000000##FFFFFF
##4160CD1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#126FD1
Deuteranopia (green-blind)
#0062CB
Tritanopia (blue-blind)
#007A8D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4160cd;
/* rgb */ color: rgb(65, 96, 205);
/* oklch */ color: oklch(52.7% 0.172 268.0);
Tailwind
colors: {
  custom: {
    50: '#868cdd',
    500: '#4160cd',
    950: '#000000',
  },
}
SCSS
$custom: #4160cd;
$custom-light: #868cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4160cd",
  "rgb": {
    "r": 65,
    "g": 96,
    "b": 205
  },
  "hsl": {
    "h": 226.714,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52714,
    "c": 0.17241,
    "h": 268
  },
  "luminance": 0.13897
}

Semantic roles & 50–950 ramp

primary
#4160CD
secondary
#D3C697
accent
#BF46E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4160CD

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

Preview Lab → · Contrast checker → · Palette generator →

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