#4160C5#4160C5

#4160C5 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.1% C 0.161 H 267.7°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#4160C5
RGBrgb(65, 96, 197)
HSLhsl(226, 53%, 51%)
HSVhsv(226, 67%, 77%)
CMYKcmyk(67%, 51.3%, 0%, 22.7%)
CIE-LABlab(43.54, 21.95, -56.20)
CIE-LCHlch(43.54, 60.34, 291.33°)
OKLaboklab(52.13% -0.0066 -0.1613)
OKLCHoklch(52.13% 0.161 267.7)
XYZxyz(16.4374, 13.5192, 54.5557)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4160C5 #C5A641
analogous
#41A2C5 #4160C5 #6441C5
triadic
#4160C5 #C54160 #60C541
tetradic
#4160C5 #C541A2 #C5A641 #41C564
square
#4160C5 #C541A2 #C5A641 #41C564
split-complementary
#4160C5 #C56441 #A2C541
monochromatic
#21326B #2F489A #4160C5 #7087D3 #9FAEE2

Accessibility & contrast

On white

5.67
#4160C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#4160C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4160C5
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4160C5#FFFFFF#000000##FFFFFF
##4160C51.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#236DC9
Deuteranopia (green-blind)
#0061C3
Tritanopia (blue-blind)
#007889
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4160c5;
/* rgb */ color: rgb(65, 96, 197);
/* oklch */ color: oklch(52.1% 0.161 267.7);
Tailwind
colors: {
  custom: {
    50: '#848cd7',
    500: '#4160c5',
    950: '#000000',
  },
}
SCSS
$custom: #4160c5;
$custom-light: #848cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#4160c5",
  "rgb": {
    "r": 65,
    "g": 96,
    "b": 197
  },
  "hsl": {
    "h": 225.909,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.52126,
    "c": 0.16148,
    "h": 267.7
  },
  "luminance": 0.13521
}

Semantic roles & 50–950 ramp

primary
#4160C5
secondary
#CEC094
accent
#BA4BDD
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4160C5

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

Preview Lab → · Contrast checker → · Palette generator →

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