#4161AE#4161AE

#4161AE is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.8% C 0.128 H 265.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#4161AE
RGBrgb(65, 97, 174)
HSLhsl(222, 46%, 47%)
HSVhsv(222, 63%, 68%)
CMYKcmyk(62.6%, 44.3%, 0%, 31.8%)
CIE-LABlab(42.35, 13.12, -44.69)
CIE-LCHlch(42.35, 46.58, 286.36°)
OKLaboklab(50.75% -0.0108 -0.1275)
OKLCHoklch(50.75% 0.128 265.2)
XYZxyz(14.0920, 12.7280, 41.7503)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4161AE #AE8E41
analogous
#4198AE #4161AE #5741AE
triadic
#4161AE #AE4161 #61AE41
tetradic
#4161AE #AE4198 #AE8E41 #41AE57
square
#4161AE #AE4198 #AE8E41 #41AE57
split-complementary
#4161AE #AE5741 #98AE41
monochromatic
#202F55 #304881 #4161AE #6682C6 #93A7D7

Accessibility & contrast

On white

5.92
#4161AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#4161AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4161AE
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4161AE#FFFFFF#000000##FFFFFF
##4161AE1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D69B1
Deuteranopia (green-blind)
#2D5FAC
Tritanopia (blue-blind)
#00727F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4161ae;
/* rgb */ color: rgb(65, 97, 174);
/* oklch */ color: oklch(50.8% 0.128 265.2);
Tailwind
colors: {
  custom: {
    50: '#808dc6',
    500: '#4161ae',
    950: '#000000',
  },
}
SCSS
$custom: #4161ae;
$custom-light: #808dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#4161ae",
  "rgb": {
    "r": 65,
    "g": 97,
    "b": 174
  },
  "hsl": {
    "h": 222.385,
    "s": 45.607,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50752,
    "c": 0.12793,
    "h": 265.2
  },
  "luminance": 0.12729
}

Semantic roles & 50–950 ramp

primary
#4161AE
secondary
#C2B189
accent
#AF53D5
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #4161AE

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

Preview Lab → · Contrast checker → · Palette generator →

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