#4162C2#4162C2

#4162C2 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.3% C 0.155 H 266.7°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#4162C2
RGBrgb(65, 98, 194)
HSLhsl(225, 51%, 51%)
HSVhsv(225, 66%, 76%)
CMYKcmyk(66.5%, 49.5%, 0%, 23.9%)
CIE-LABlab(43.88, 19.60, -53.92)
CIE-LCHlch(43.88, 57.37, 289.98°)
OKLaboklab(52.32% -0.0088 -0.1546)
OKLCHoklch(52.32% 0.155 266.7)
XYZxyz(16.2819, 13.7527, 52.8250)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4162C2 #C2A141
analogous
#41A2C2 #4162C2 #6041C2
triadic
#4162C2 #C24162 #62C241
tetradic
#4162C2 #C241A2 #C2A141 #41C260
square
#4162C2 #C241A2 #C2A141 #41C260
split-complementary
#4162C2 #C26041 #A2C241
monochromatic
#213367 #304A96 #4162C2 #6F88D1 #9EAFE0

Accessibility & contrast

On white

5.60
#4162C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#4162C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4162C2
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4162C2#FFFFFF#000000##FFFFFF
##4162C21.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6EC5
Deuteranopia (green-blind)
#0562C0
Tritanopia (blue-blind)
#007889
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4162c2;
/* rgb */ color: rgb(65, 98, 194);
/* oklch */ color: oklch(52.3% 0.155 266.7);
Tailwind
colors: {
  custom: {
    50: '#838ed5',
    500: '#4162c2',
    950: '#000000',
  },
}
SCSS
$custom: #4162c2;
$custom-light: #838ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#4162c2",
  "rgb": {
    "r": 65,
    "g": 98,
    "b": 194
  },
  "hsl": {
    "h": 224.651,
    "s": 51.394,
    "l": 50.784
  },
  "oklch": {
    "l": 0.52321,
    "c": 0.15484,
    "h": 266.7
  },
  "luminance": 0.13754
}

Semantic roles & 50–950 ramp

primary
#4162C2
secondary
#CCBD93
accent
#B74DDB
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4162C2

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

Preview Lab → · Contrast checker → · Palette generator →

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