#4161BC#4161BC

#4161BC is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.7% C 0.148 H 266.7°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#4161BC
RGBrgb(65, 97, 188)
HSLhsl(224, 49%, 50%)
HSVhsv(224, 65%, 74%)
CMYKcmyk(65.4%, 48.4%, 0%, 26.3%)
CIE-LABlab(43.22, 18.10, -51.50)
CIE-LCHlch(43.22, 54.59, 289.36°)
OKLaboklab(51.69% -0.0086 -0.1475)
OKLCHoklch(51.69% 0.148 266.7)
XYZxyz(15.5286, 13.3026, 49.3165)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4161BC #BC9C41
analogous
#419FBC #4161BC #5E41BC
triadic
#4161BC #BC4161 #61BC41
tetradic
#4161BC #BC419F #BC9C41 #41BC5E
square
#4161BC #BC419F #BC9C41 #41BC5E
split-complementary
#4161BC #BC5E41 #9FBC41
monochromatic
#223261 #314A8F #4161BC #6E86CD #9BACDC

Accessibility & contrast

On white

5.74
#4161BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#4161BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4161BC
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4161BC#FFFFFF#000000##FFFFFF
##4161BC1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316CBF
Deuteranopia (green-blind)
#1561BA
Tritanopia (blue-blind)
#007685
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4161bc;
/* rgb */ color: rgb(65, 97, 188);
/* oklch */ color: oklch(51.7% 0.148 266.7);
Tailwind
colors: {
  custom: {
    50: '#828dd1',
    500: '#4161bc',
    950: '#000000',
  },
}
SCSS
$custom: #4161bc;
$custom-light: #828dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4161bc",
  "rgb": {
    "r": 65,
    "g": 97,
    "b": 188
  },
  "hsl": {
    "h": 224.39,
    "s": 48.617,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51694,
    "c": 0.14773,
    "h": 266.7
  },
  "luminance": 0.13304
}

Semantic roles & 50–950 ramp

primary
#4161BC
secondary
#C9BA90
accent
#B550D8
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4161BC

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

Preview Lab → · Contrast checker → · Palette generator →

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