#4161AF#4161AF

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

Color values

HEX#4161AF
RGBrgb(65, 97, 175)
HSLhsl(223, 46%, 47%)
HSVhsv(223, 63%, 69%)
CMYKcmyk(62.9%, 44.6%, 0%, 31.4%)
CIE-LABlab(42.41, 13.48, -45.19)
CIE-LCHlch(42.41, 47.15, 286.61°)
OKLaboklab(50.82% -0.0106 -0.1289)
OKLCHoklch(50.82% 0.129 265.3)
XYZxyz(14.1899, 12.7671, 42.2656)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4161AF #AF8F41
analogous
#4198AF #4161AF #5841AF
triadic
#4161AF #AF4161 #61AF41
tetradic
#4161AF #AF4198 #AF8F41 #41AF58
square
#4161AF #AF4198 #AF8F41 #41AF58
split-complementary
#4161AF #AF5841 #98AF41
monochromatic
#203056 #304882 #4161AF #6783C6 #93A7D7

Accessibility & contrast

On white

5.91
#4161AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4161AF
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4161AF#FFFFFF#000000##FFFFFF
##4161AF1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D69B2
Deuteranopia (green-blind)
#2B5FAD
Tritanopia (blue-blind)
#00737F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4161af;
/* rgb */ color: rgb(65, 97, 175);
/* oklch */ color: oklch(50.8% 0.129 265.3);
Tailwind
colors: {
  custom: {
    50: '#808dc7',
    500: '#4161af',
    950: '#000000',
  },
}
SCSS
$custom: #4161af;
$custom-light: #808dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4161af",
  "rgb": {
    "r": 65,
    "g": 97,
    "b": 175
  },
  "hsl": {
    "h": 222.545,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50818,
    "c": 0.12936,
    "h": 265.3
  },
  "luminance": 0.12768
}

Semantic roles & 50–950 ramp

primary
#4161AF
secondary
#C2B289
accent
#AF52D5
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #4161AF

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

Preview Lab → · Contrast checker → · Palette generator →

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