#4160C7#4160C7

#4160C7 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.3% C 0.164 H 267.8°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#4160C7
RGBrgb(65, 96, 199)
HSLhsl(226, 54%, 52%)
HSVhsv(226, 67%, 78%)
CMYKcmyk(67.3%, 51.8%, 0%, 22%)
CIE-LABlab(43.67, 22.67, -57.14)
CIE-LCHlch(43.67, 61.47, 291.64°)
OKLaboklab(52.27% -0.0064 -0.1641)
OKLCHoklch(52.27% 0.164 267.8)
XYZxyz(16.6681, 13.6115, 55.7706)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4160C7 #C7A841
analogous
#41A3C7 #4160C7 #6541C7
triadic
#4160C7 #C74160 #60C741
tetradic
#4160C7 #C741A3 #C7A841 #41C765
square
#4160C7 #C741A3 #C7A841 #41C765
split-complementary
#4160C7 #C76541 #A3C741
monochromatic
#20326D #2E489D #4160C7 #7088D5 #A0AFE3

Accessibility & contrast

On white

5.64
#4160C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#4160C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4160C7
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4160C7#FFFFFF#000000##FFFFFF
##4160C71.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#206ECB
Deuteranopia (green-blind)
#0061C5
Tritanopia (blue-blind)
#00788A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4160c7;
/* rgb */ color: rgb(65, 96, 199);
/* oklch */ color: oklch(52.3% 0.164 267.8);
Tailwind
colors: {
  custom: {
    50: '#848cd9',
    500: '#4160c7',
    950: '#000000',
  },
}
SCSS
$custom: #4160c7;
$custom-light: #848cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4160c7",
  "rgb": {
    "r": 65,
    "g": 96,
    "b": 199
  },
  "hsl": {
    "h": 226.119,
    "s": 54.472,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52271,
    "c": 0.16423,
    "h": 267.8
  },
  "luminance": 0.13613
}

Semantic roles & 50–950 ramp

primary
#4160C7
secondary
#CFC295
accent
#BC4ADE
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4160C7

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

Preview Lab → · Contrast checker → · Palette generator →

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