#4161AC#4161AC

#4161AC is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.6% C 0.125 H 264.9°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#4161AC
RGBrgb(65, 97, 172)
HSLhsl(222, 45%, 46%)
HSVhsv(222, 62%, 67%)
CMYKcmyk(62.2%, 43.6%, 0%, 32.5%)
CIE-LABlab(42.23, 12.42, -43.71)
CIE-LCHlch(42.23, 45.44, 285.86°)
OKLaboklab(50.62% -0.0111 -0.1246)
OKLCHoklch(50.62% 0.125 264.9)
XYZxyz(13.8985, 12.6505, 40.7311)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4161AC #AC8C41
analogous
#4197AC #4161AC #5741AC
triadic
#4161AC #AC4161 #61AC41
tetradic
#4161AC #AC4197 #AC8C41 #41AC57
square
#4161AC #AC4197 #AC8C41 #41AC57
split-complementary
#4161AC #AC5741 #97AC41
monochromatic
#1F2F53 #304880 #4161AC #6582C5 #92A6D6

Accessibility & contrast

On white

5.95
#4161AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#4161AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4161AC
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4161AC#FFFFFF#000000##FFFFFF
##4161AC1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4161ac;
/* rgb */ color: rgb(65, 97, 172);
/* oklch */ color: oklch(50.6% 0.125 264.9);
Tailwind
colors: {
  custom: {
    50: '#7f8dc5',
    500: '#4161ac',
    950: '#000000',
  },
}
SCSS
$custom: #4161ac;
$custom-light: #7f8dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#4161ac",
  "rgb": {
    "r": 65,
    "g": 97,
    "b": 172
  },
  "hsl": {
    "h": 222.056,
    "s": 45.148,
    "l": 46.471
  },
  "oklch": {
    "l": 0.50623,
    "c": 0.12508,
    "h": 264.9
  },
  "luminance": 0.12652
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4161AC

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

Preview Lab → · Contrast checker → · Palette generator →

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