#4161A2#4161A2

#4161A2 is a mid, moderate blue. Relative luminance 0.123; OKLCH L 50.0% C 0.111 H 263.2°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#4161A2
RGBrgb(65, 97, 162)
HSLhsl(220, 43%, 45%)
HSVhsv(220, 60%, 64%)
CMYKcmyk(59.9%, 40.1%, 0%, 36.5%)
CIE-LABlab(41.66, 8.91, -38.71)
CIE-LCHlch(41.66, 39.72, 282.97°)
OKLaboklab(50% -0.0132 -0.1099)
OKLCHoklch(50% 0.111 263.2)
XYZxyz(12.9740, 12.2808, 35.8621)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4161A2 #A28241
analogous
#4192A2 #4161A2 #5241A2
triadic
#4161A2 #A24161 #61A241
tetradic
#4161A2 #A24192 #A28241 #41A252
square
#4161A2 #A24192 #A28241 #41A252
split-complementary
#4161A2 #A25241 #92A241
monochromatic
#1E2D4B #2F4776 #4161A2 #6180BF #8CA3D1

Accessibility & contrast

On white

6.08
#4161A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#4161A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4161A2
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4161A2#FFFFFF#000000##FFFFFF
##4161A21.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4567A5
Deuteranopia (green-blind)
#385EA1
Tritanopia (blue-blind)
#006F79
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4161a2;
/* rgb */ color: rgb(65, 97, 162);
/* oklch */ color: oklch(50.0% 0.111 263.2);
Tailwind
colors: {
  custom: {
    50: '#7e8dbe',
    500: '#4161a2',
    950: '#000000',
  },
}
SCSS
$custom: #4161a2;
$custom-light: #7e8dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#4161a2",
  "rgb": {
    "r": 65,
    "g": 97,
    "b": 162
  },
  "hsl": {
    "h": 220.206,
    "s": 42.731,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49995,
    "c": 0.11071,
    "h": 263.2
  },
  "luminance": 0.12282
}

Semantic roles & 50–950 ramp

primary
#4161A2
secondary
#BCA983
accent
#A955D3
background
#F8F8FB
surface
#EFF0F7
border
#CACBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #4161A2

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

Preview Lab → · Contrast checker → · Palette generator →

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