#4161AD#4161AD

#4161AD is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.7% C 0.127 H 265.0°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#4161AD
RGBrgb(65, 97, 173)
HSLhsl(222, 45%, 47%)
HSVhsv(222, 62%, 68%)
CMYKcmyk(62.4%, 43.9%, 0%, 32.2%)
CIE-LABlab(42.29, 12.77, -44.20)
CIE-LCHlch(42.29, 46.01, 286.12°)
OKLaboklab(50.69% -0.0109 -0.126)
OKLCHoklch(50.69% 0.127 265)
XYZxyz(13.9949, 12.6891, 41.2388)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4161AD #AD8D41
analogous
#4197AD #4161AD #5741AD
triadic
#4161AD #AD4161 #61AD41
tetradic
#4161AD #AD4197 #AD8D41 #41AD57
square
#4161AD #AD4197 #AD8D41 #41AD57
split-complementary
#4161AD #AD5741 #97AD41
monochromatic
#202F54 #304881 #4161AD #6682C5 #92A6D6

Accessibility & contrast

On white

5.94
#4161AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#4161AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4161AD
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4161AD#FFFFFF#000000##FFFFFF
##4161AD1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E69B0
Deuteranopia (green-blind)
#2E5FAB
Tritanopia (blue-blind)
#00727E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4161ad;
/* rgb */ color: rgb(65, 97, 173);
/* oklch */ color: oklch(50.7% 0.127 265.0);
Tailwind
colors: {
  custom: {
    50: '#808dc6',
    500: '#4161ad',
    950: '#000000',
  },
}
SCSS
$custom: #4161ad;
$custom-light: #808dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#4161ad",
  "rgb": {
    "r": 65,
    "g": 97,
    "b": 173
  },
  "hsl": {
    "h": 222.222,
    "s": 45.378,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50688,
    "c": 0.1265,
    "h": 265
  },
  "luminance": 0.1269
}

Semantic roles & 50–950 ramp

primary
#4161AD
secondary
#C2B188
accent
#AE53D5
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #4161AD

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

Preview Lab → · Contrast checker → · Palette generator →

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