#4161B2#4161B2

#4161B2 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.0% C 0.134 H 265.7°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#4161B2
RGBrgb(65, 97, 178)
HSLhsl(223, 47%, 48%)
HSVhsv(223, 63%, 70%)
CMYKcmyk(63.5%, 45.5%, 0%, 30.2%)
CIE-LABlab(42.59, 14.54, -46.66)
CIE-LCHlch(42.59, 48.87, 287.31°)
OKLaboklab(51.02% -0.0101 -0.1332)
OKLCHoklch(51.02% 0.134 265.7)
XYZxyz(14.4878, 12.8863, 43.8347)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4161B2 #B29241
analogous
#4199B2 #4161B2 #5A41B2
triadic
#4161B2 #B24161 #61B241
tetradic
#4161B2 #B24199 #B29241 #41B25A
square
#4161B2 #B24199 #B29241 #41B25A
split-complementary
#4161B2 #B25A41 #99B241
monochromatic
#203058 #314985 #4161B2 #6883C8 #95A8D8

Accessibility & contrast

On white

5.87
#4161B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#4161B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4161B2
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4161B2#FFFFFF#000000##FFFFFF
##4161B21.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6AB5
Deuteranopia (green-blind)
#2860B0
Tritanopia (blue-blind)
#007381
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4161b2;
/* rgb */ color: rgb(65, 97, 178);
/* oklch */ color: oklch(51.0% 0.134 265.7);
Tailwind
colors: {
  custom: {
    50: '#818dc9',
    500: '#4161b2',
    950: '#000000',
  },
}
SCSS
$custom: #4161b2;
$custom-light: #818dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#4161b2",
  "rgb": {
    "r": 65,
    "g": 97,
    "b": 178
  },
  "hsl": {
    "h": 223.009,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51015,
    "c": 0.13363,
    "h": 265.7
  },
  "luminance": 0.12888
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4161B2

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

Preview Lab → · Contrast checker → · Palette generator →

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