#4161B7#4161B7

#4161B7 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.4% C 0.141 H 266.2°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#4161B7
RGBrgb(65, 97, 183)
HSLhsl(224, 48%, 49%)
HSVhsv(224, 64%, 72%)
CMYKcmyk(64.5%, 47%, 0%, 28.2%)
CIE-LABlab(42.90, 16.32, -49.09)
CIE-LCHlch(42.90, 51.73, 288.39°)
OKLaboklab(51.35% -0.0093 -0.1404)
OKLCHoklch(51.35% 0.141 266.2)
XYZxyz(14.9990, 13.0907, 46.5269)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4161B7 #B79741
analogous
#419CB7 #4161B7 #5C41B7
triadic
#4161B7 #B74161 #61B741
tetradic
#4161B7 #B7419C #B79741 #41B75C
square
#4161B7 #B7419C #B79741 #41B75C
split-complementary
#4161B7 #B75C41 #9CB741
monochromatic
#21315D #31498A #4161B7 #6B85CA #98AADA

Accessibility & contrast

On white

5.80
#4161B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#4161B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4161B7
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4161B7#FFFFFF#000000##FFFFFF
##4161B71.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366BBA
Deuteranopia (green-blind)
#2060B5
Tritanopia (blue-blind)
#007583
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4161b7;
/* rgb */ color: rgb(65, 97, 183);
/* oklch */ color: oklch(51.4% 0.141 266.2);
Tailwind
colors: {
  custom: {
    50: '#818dcd',
    500: '#4161b7',
    950: '#000000',
  },
}
SCSS
$custom: #4161b7;
$custom-light: #818dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#4161b7",
  "rgb": {
    "r": 65,
    "g": 97,
    "b": 183
  },
  "hsl": {
    "h": 223.729,
    "s": 47.581,
    "l": 48.627
  },
  "oklch": {
    "l": 0.51351,
    "c": 0.14071,
    "h": 266.2
  },
  "luminance": 0.13092
}

Semantic roles & 50–950 ramp

primary
#4161B7
secondary
#C6B78E
accent
#B351D7
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #4161B7

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

Preview Lab → · Contrast checker → · Palette generator →

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