#4162AF#4162AF

#4162AF is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.0% C 0.128 H 264.8°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#4162AF
RGBrgb(65, 98, 175)
HSLhsl(222, 46%, 47%)
HSVhsv(222, 63%, 69%)
CMYKcmyk(62.9%, 44%, 0%, 31.4%)
CIE-LABlab(42.69, 12.84, -44.74)
CIE-LCHlch(42.69, 46.54, 286.01°)
OKLaboklab(51.03% -0.0116 -0.1276)
OKLCHoklch(51.03% 0.128 264.8)
XYZxyz(14.2828, 12.9531, 42.2966)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4162AF #AF8E41
analogous
#4199AF #4162AF #5741AF
triadic
#4162AF #AF4162 #62AF41
tetradic
#4162AF #AF4199 #AF8E41 #41AF57
square
#4162AF #AF4199 #AF8E41 #41AF57
split-complementary
#4162AF #AF5741 #99AF41
monochromatic
#203056 #304982 #4162AF #6783C6 #93A8D7

Accessibility & contrast

On white

5.85
#4162AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#4162AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4162AF
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4162AF#FFFFFF#000000##FFFFFF
##4162AF1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6AB2
Deuteranopia (green-blind)
#2E60AD
Tritanopia (blue-blind)
#007380
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4162af;
/* rgb */ color: rgb(65, 98, 175);
/* oklch */ color: oklch(51.0% 0.128 264.8);
Tailwind
colors: {
  custom: {
    50: '#808ec7',
    500: '#4162af',
    950: '#000000',
  },
}
SCSS
$custom: #4162af;
$custom-light: #808ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#4162af",
  "rgb": {
    "r": 65,
    "g": 98,
    "b": 175
  },
  "hsl": {
    "h": 222,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51034,
    "c": 0.12812,
    "h": 264.8
  },
  "luminance": 0.12954
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4162AF

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

Preview Lab → · Contrast checker → · Palette generator →

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