#4160C8#4160C8

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

Color values

HEX#4160C8
RGBrgb(65, 96, 200)
HSLhsl(226, 55%, 52%)
HSVhsv(226, 68%, 78%)
CMYKcmyk(67.5%, 52%, 0%, 21.6%)
CIE-LABlab(43.74, 23.02, -57.61)
CIE-LCHlch(43.74, 62.04, 291.79°)
OKLaboklab(52.34% -0.0063 -0.1655)
OKLCHoklch(52.34% 0.166 267.8)
XYZxyz(16.7846, 13.6581, 56.3841)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4160C8 #C8A941
analogous
#41A4C8 #4160C8 #6641C8
triadic
#4160C8 #C84160 #60C841
tetradic
#4160C8 #C841A4 #C8A941 #41C866
square
#4160C8 #C841A4 #C8A941 #41C866
split-complementary
#4160C8 #C86641 #A4C841
monochromatic
#20326F #2E489E #4160C8 #7088D6 #A0AFE3

Accessibility & contrast

On white

5.63
#4160C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#4160C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4160C8
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4160C8#FFFFFF#000000##FFFFFF
##4160C81.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E6ECC
Deuteranopia (green-blind)
#0062C6
Tritanopia (blue-blind)
#00798B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4160c8;
/* rgb */ color: rgb(65, 96, 200);
/* oklch */ color: oklch(52.3% 0.166 267.8);
Tailwind
colors: {
  custom: {
    50: '#858cd9',
    500: '#4160c8',
    950: '#000000',
  },
}
SCSS
$custom: #4160c8;
$custom-light: #858cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4160c8",
  "rgb": {
    "r": 65,
    "g": 96,
    "b": 200
  },
  "hsl": {
    "h": 226.222,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.52344,
    "c": 0.16559,
    "h": 267.8
  },
  "luminance": 0.1366
}

Semantic roles & 50–950 ramp

primary
#4160C8
secondary
#D0C295
accent
#BC49DE
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4160C8

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

Preview Lab → · Contrast checker → · Palette generator →

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