#4160CE#4160CE

#4160CE is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.8% C 0.174 H 268.1°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#4160CE
RGBrgb(65, 96, 206)
HSLhsl(227, 59%, 53%)
HSVhsv(227, 68%, 81%)
CMYKcmyk(68.4%, 53.4%, 0%, 19.2%)
CIE-LABlab(44.15, 25.17, -60.39)
CIE-LCHlch(44.15, 65.43, 292.62°)
OKLaboklab(52.79% -0.0058 -0.1737)
OKLCHoklch(52.79% 0.174 268.1)
XYZxyz(17.4996, 13.9441, 60.1498)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4160CE #CEAF41
analogous
#41A6CE #4160CE #6941CE
triadic
#4160CE #CE4160 #60CE41
tetradic
#4160CE #CE41A6 #CEAF41 #41CE69
square
#4160CE #CE41A6 #CEAF41 #41CE69
split-complementary
#4160CE #CE6941 #A6CE41
monochromatic
#1E3276 #2B46A7 #4160CE #7289DB #A2B1E7

Accessibility & contrast

On white

5.54
#4160CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#4160CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4160CE
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4160CE#FFFFFF#000000##FFFFFF
##4160CE1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F6FD2
Deuteranopia (green-blind)
#0062CC
Tritanopia (blue-blind)
#007A8E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4160ce;
/* rgb */ color: rgb(65, 96, 206);
/* oklch */ color: oklch(52.8% 0.174 268.1);
Tailwind
colors: {
  custom: {
    50: '#868cde',
    500: '#4160ce',
    950: '#000000',
  },
}
SCSS
$custom: #4160ce;
$custom-light: #868cde;
$custom-dark: #000000;
JSON
{
  "hex": "#4160ce",
  "rgb": {
    "r": 65,
    "g": 96,
    "b": 206
  },
  "hsl": {
    "h": 226.809,
    "s": 58.996,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52789,
    "c": 0.17377,
    "h": 268.1
  },
  "luminance": 0.13946
}

Semantic roles & 50–950 ramp

primary
#4160CE
secondary
#D4C697
accent
#C046E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4160CE

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

Preview Lab → · Contrast checker → · Palette generator →

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