#4162AE#4162AE

#4162AE is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.0% C 0.127 H 264.6°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#4162AE
RGBrgb(65, 98, 174)
HSLhsl(222, 46%, 47%)
HSVhsv(222, 63%, 68%)
CMYKcmyk(62.6%, 43.7%, 0%, 31.8%)
CIE-LABlab(42.63, 12.49, -44.24)
CIE-LCHlch(42.63, 45.97, 285.76°)
OKLaboklab(50.97% -0.0118 -0.1261)
OKLCHoklch(50.97% 0.127 264.6)
XYZxyz(14.1850, 12.9139, 41.7813)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4162AE #AE8D41
analogous
#4199AE #4162AE #5741AE
triadic
#4162AE #AE4162 #62AE41
tetradic
#4162AE #AE4199 #AE8D41 #41AE57
square
#4162AE #AE4199 #AE8D41 #41AE57
split-complementary
#4162AE #AE5741 #99AE41
monochromatic
#203055 #304981 #4162AE #6683C6 #93A7D7

Accessibility & contrast

On white

5.86
#4162AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#4162AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4162AE
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4162AE#FFFFFF#000000##FFFFFF
##4162AE1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6AB1
Deuteranopia (green-blind)
#2F60AC
Tritanopia (blue-blind)
#00737F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4162ae;
/* rgb */ color: rgb(65, 98, 174);
/* oklch */ color: oklch(51.0% 0.127 264.6);
Tailwind
colors: {
  custom: {
    50: '#808ec6',
    500: '#4162ae',
    950: '#000000',
  },
}
SCSS
$custom: #4162ae;
$custom-light: #808ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#4162ae",
  "rgb": {
    "r": 65,
    "g": 98,
    "b": 174
  },
  "hsl": {
    "h": 221.835,
    "s": 45.607,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5097,
    "c": 0.12669,
    "h": 264.6
  },
  "luminance": 0.12915
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4162AE

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

Preview Lab → · Contrast checker → · Palette generator →

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