#4160B2#4160B2

#4160B2 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.8% C 0.135 H 266.2°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#4160B2
RGBrgb(65, 96, 178)
HSLhsl(224, 47%, 48%)
HSVhsv(224, 63%, 70%)
CMYKcmyk(63.5%, 46.1%, 0%, 30.2%)
CIE-LABlab(42.31, 15.18, -47.11)
CIE-LCHlch(42.31, 49.49, 287.86°)
OKLaboklab(50.8% -0.0091 -0.1346)
OKLCHoklch(50.8% 0.135 266.2)
XYZxyz(14.3960, 12.7026, 43.8040)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4160B2 #B29341
analogous
#4198B2 #4160B2 #5B41B2
triadic
#4160B2 #B24160 #60B241
tetradic
#4160B2 #B24198 #B29341 #41B25B
square
#4160B2 #B24198 #B29341 #41B25B
split-complementary
#4160B2 #B25B41 #98B241
monochromatic
#203058 #314885 #4160B2 #6883C8 #95A8D8

Accessibility & contrast

On white

5.93
#4160B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#4160B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4160B2
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4160B2#FFFFFF#000000##FFFFFF
##4160B21.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3869B5
Deuteranopia (green-blind)
#255FB0
Tritanopia (blue-blind)
#007380
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4160b2;
/* rgb */ color: rgb(65, 96, 178);
/* oklch */ color: oklch(50.8% 0.135 266.2);
Tailwind
colors: {
  custom: {
    50: '#818cc9',
    500: '#4160b2',
    950: '#000000',
  },
}
SCSS
$custom: #4160b2;
$custom-light: #818cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#4160b2",
  "rgb": {
    "r": 65,
    "g": 96,
    "b": 178
  },
  "hsl": {
    "h": 223.54,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50801,
    "c": 0.13488,
    "h": 266.2
  },
  "luminance": 0.12704
}

Semantic roles & 50–950 ramp

primary
#4160B2
secondary
#C4B48B
accent
#B252D6
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #4160B2

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

Preview Lab → · Contrast checker → · Palette generator →

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