#4160CF#4160CF

#4160CF is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.9% C 0.175 H 268.1°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#4160CF
RGBrgb(65, 96, 207)
HSLhsl(227, 60%, 53%)
HSVhsv(227, 69%, 81%)
CMYKcmyk(68.6%, 53.6%, 0%, 18.8%)
CIE-LABlab(44.22, 25.52, -60.85)
CIE-LCHlch(44.22, 65.99, 292.75°)
OKLaboklab(52.86% -0.0058 -0.175)
OKLCHoklch(52.86% 0.175 268.1)
XYZxyz(17.6214, 13.9928, 60.7916)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4160CF #CFB041
analogous
#41A7CF #4160CF #6941CF
triadic
#4160CF #CF4160 #60CF41
tetradic
#4160CF #CF41A7 #CFB041 #41CF69
square
#4160CF #CF41A7 #CFB041 #41CF69
split-complementary
#4160CF #CF6941 #A7CF41
monochromatic
#1E3277 #2B46A8 #4160CF #7289DB #A3B2E8

Accessibility & contrast

On white

5.53
#4160CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#4160CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4160CF
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4160CF#FFFFFF#000000##FFFFFF
##4160CF1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B6FD3
Deuteranopia (green-blind)
#0062CD
Tritanopia (blue-blind)
#007B8E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4160cf;
/* rgb */ color: rgb(65, 96, 207);
/* oklch */ color: oklch(52.9% 0.175 268.1);
Tailwind
colors: {
  custom: {
    50: '#868cde',
    500: '#4160cf',
    950: '#000000',
  },
}
SCSS
$custom: #4160cf;
$custom-light: #868cde;
$custom-dark: #000000;
JSON
{
  "hex": "#4160cf",
  "rgb": {
    "r": 65,
    "g": 96,
    "b": 207
  },
  "hsl": {
    "h": 226.901,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52864,
    "c": 0.17512,
    "h": 268.1
  },
  "luminance": 0.13995
}

Semantic roles & 50–950 ramp

primary
#4160CF
secondary
#D4C797
accent
#C045E3
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4160CF

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

Preview Lab → · Contrast checker → · Palette generator →

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