#4162C0#4162C0

#4162C0 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.2% C 0.152 H 266.6°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#4162C0
RGBrgb(65, 98, 192)
HSLhsl(224, 50%, 50%)
HSVhsv(224, 66%, 75%)
CMYKcmyk(66.1%, 49%, 0%, 24.7%)
CIE-LABlab(43.75, 18.89, -52.97)
CIE-LCHlch(43.75, 56.24, 289.63°)
OKLaboklab(52.18% -0.009 -0.1518)
OKLCHoklch(52.18% 0.152 266.6)
XYZxyz(16.0588, 13.6634, 51.6500)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4162C0 #C09F41
analogous
#41A2C0 #4162C0 #5F41C0
triadic
#4162C0 #C04162 #62C041
tetradic
#4162C0 #C041A2 #C09F41 #41C05F
square
#4162C0 #C041A2 #C09F41 #41C05F
split-complementary
#4162C0 #C05F41 #A2C041
monochromatic
#223365 #314A93 #4162C0 #6F88CF #9DAEDE

Accessibility & contrast

On white

5.63
#4162C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#4162C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4162C0
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4162C0#FFFFFF#000000##FFFFFF
##4162C01.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6DC3
Deuteranopia (green-blind)
#0E62BE
Tritanopia (blue-blind)
#007888
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4162c0;
/* rgb */ color: rgb(65, 98, 192);
/* oklch */ color: oklch(52.2% 0.152 266.6);
Tailwind
colors: {
  custom: {
    50: '#838ed4',
    500: '#4162c0',
    950: '#000000',
  },
}
SCSS
$custom: #4162c0;
$custom-light: #838ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#4162c0",
  "rgb": {
    "r": 65,
    "g": 98,
    "b": 192
  },
  "hsl": {
    "h": 224.409,
    "s": 50.198,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5218,
    "c": 0.15206,
    "h": 266.6
  },
  "luminance": 0.13665
}

Semantic roles & 50–950 ramp

primary
#4162C0
secondary
#CBBC92
accent
#B54EDA
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4162C0

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

Preview Lab → · Contrast checker → · Palette generator →

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