#4162D0#4162D0

#4162D0 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.3% C 0.174 H 267.6°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#4162D0
RGBrgb(65, 98, 208)
HSLhsl(226, 60%, 54%)
HSVhsv(226, 69%, 82%)
CMYKcmyk(68.8%, 52.9%, 0%, 18.4%)
CIE-LABlab(44.82, 24.61, -60.47)
CIE-LCHlch(44.82, 65.28, 292.15°)
OKLaboklab(53.34% -0.0074 -0.1738)
OKLCHoklch(53.34% 0.174 267.6)
XYZxyz(17.9289, 14.4115, 61.4991)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4162D0 #D0AF41
analogous
#41A9D0 #4162D0 #6741D0
triadic
#4162D0 #D04162 #62D041
tetradic
#4162D0 #D041A9 #D0AF41 #41D067
square
#4162D0 #D041A9 #D0AF41 #41D067
split-complementary
#4162D0 #D06741 #A9D041
monochromatic
#1E3379 #2A47AA #4162D0 #728BDC #A3B3E8

Accessibility & contrast

On white

5.41
#4162D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#4162D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4162D0
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4162D0#FFFFFF#000000##FFFFFF
##4162D01.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1571D4
Deuteranopia (green-blind)
#0064CE
Tritanopia (blue-blind)
#007C8F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4162d0;
/* rgb */ color: rgb(65, 98, 208);
/* oklch */ color: oklch(53.3% 0.174 267.6);
Tailwind
colors: {
  custom: {
    50: '#868edf',
    500: '#4162d0',
    950: '#000000',
  },
}
SCSS
$custom: #4162d0;
$custom-light: #868edf;
$custom-dark: #000000;
JSON
{
  "hex": "#4162d0",
  "rgb": {
    "r": 65,
    "g": 98,
    "b": 208
  },
  "hsl": {
    "h": 226.154,
    "s": 60.338,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53335,
    "c": 0.17401,
    "h": 267.6
  },
  "luminance": 0.14413
}

Semantic roles & 50–950 ramp

primary
#4162D0
secondary
#D5C798
accent
#BF44E3
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4162D0

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

Preview Lab → · Contrast checker → · Palette generator →

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