#4160CA#4160CA

#4160CA is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.5% C 0.168 H 267.9°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#4160CA
RGBrgb(65, 96, 202)
HSLhsl(226, 56%, 52%)
HSVhsv(226, 68%, 79%)
CMYKcmyk(67.8%, 52.5%, 0%, 20.8%)
CIE-LABlab(43.88, 23.74, -58.54)
CIE-LCHlch(43.88, 63.17, 292.07°)
OKLaboklab(52.49% -0.0062 -0.1682)
OKLCHoklch(52.49% 0.168 267.9)
XYZxyz(17.0198, 13.7522, 57.6231)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4160CA #CAAB41
analogous
#41A5CA #4160CA #6641CA
triadic
#4160CA #CA4160 #60CA41
tetradic
#4160CA #CA41A5 #CAAB41 #41CA66
square
#4160CA #CA41A5 #CAAB41 #41CA66
split-complementary
#4160CA #CA6641 #A5CA41
monochromatic
#203271 #2D47A1 #4160CA #7188D7 #A1B0E5

Accessibility & contrast

On white

5.60
#4160CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#4160CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4160CA
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4160CA#FFFFFF#000000##FFFFFF
##4160CA1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A6ECE
Deuteranopia (green-blind)
#0062C8
Tritanopia (blue-blind)
#00798C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4160ca;
/* rgb */ color: rgb(65, 96, 202);
/* oklch */ color: oklch(52.5% 0.168 267.9);
Tailwind
colors: {
  custom: {
    50: '#858cdb',
    500: '#4160ca',
    950: '#000000',
  },
}
SCSS
$custom: #4160ca;
$custom-light: #858cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4160ca",
  "rgb": {
    "r": 65,
    "g": 96,
    "b": 202
  },
  "hsl": {
    "h": 226.423,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52491,
    "c": 0.16833,
    "h": 267.9
  },
  "luminance": 0.13754
}

Semantic roles & 50–950 ramp

primary
#4160CA
secondary
#D1C496
accent
#BD48E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4160CA

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

Preview Lab → · Contrast checker → · Palette generator →

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