#4160B0#4160B0

#4160B0 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.7% C 0.132 H 265.9°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#4160B0
RGBrgb(65, 96, 176)
HSLhsl(223, 46%, 47%)
HSVhsv(223, 63%, 69%)
CMYKcmyk(63.1%, 45.5%, 0%, 31%)
CIE-LABlab(42.19, 14.47, -46.13)
CIE-LCHlch(42.19, 48.34, 287.42°)
OKLaboklab(50.67% -0.0094 -0.1317)
OKLCHoklch(50.67% 0.132 265.9)
XYZxyz(14.1966, 12.6229, 42.7542)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4160B0 #B09141
analogous
#4198B0 #4160B0 #5941B0
triadic
#4160B0 #B04160 #60B041
tetradic
#4160B0 #B04198 #B09141 #41B059
square
#4160B0 #B04198 #B09141 #41B059
split-complementary
#4160B0 #B05941 #98B041
monochromatic
#202F57 #304883 #4160B0 #6782C7 #94A7D7

Accessibility & contrast

On white

5.96
#4160B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4160B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4160B0
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4160B0#FFFFFF#000000##FFFFFF
##4160B01.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A69B3
Deuteranopia (green-blind)
#285FAE
Tritanopia (blue-blind)
#00727F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4160b0;
/* rgb */ color: rgb(65, 96, 176);
/* oklch */ color: oklch(50.7% 0.132 265.9);
Tailwind
colors: {
  custom: {
    50: '#808cc8',
    500: '#4160b0',
    950: '#000000',
  },
}
SCSS
$custom: #4160b0;
$custom-light: #808cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#4160b0",
  "rgb": {
    "r": 65,
    "g": 96,
    "b": 176
  },
  "hsl": {
    "h": 223.243,
    "s": 46.058,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50668,
    "c": 0.13203,
    "h": 265.9
  },
  "luminance": 0.12624
}

Semantic roles & 50–950 ramp

primary
#4160B0
secondary
#C3B38A
accent
#B152D6
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #4160B0

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

Preview Lab → · Contrast checker → · Palette generator →

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