#4162DB#4162DB

#4162DB is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.2% C 0.189 H 268.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#4162DB
RGBrgb(65, 98, 219)
HSLhsl(227, 68%, 56%)
HSVhsv(227, 70%, 86%)
CMYKcmyk(70.3%, 55.3%, 0%, 14.1%)
CIE-LABlab(45.60, 28.54, -65.49)
CIE-LCHlch(45.60, 71.43, 293.55°)
OKLaboklab(54.17% -0.0067 -0.1886)
OKLCHoklch(54.17% 0.189 268)
XYZxyz(19.3294, 14.9717, 68.8752)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4162DB #DBBA41
analogous
#41AFDB #4162DB #6D41DB
triadic
#4162DB #DB4162 #62DB41
tetradic
#4162DB #DB41AF #DBBA41 #41DB6D
square
#4162DB #DB41AF #DBBA41 #41DB6D
split-complementary
#4162DB #DB6D41 #AFDB41
monochromatic
#1A3188 #2344BB #4162DB #748DE5 #A8B7EE

Accessibility & contrast

On white

5.26
#4162DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#4162DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4162DB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4162DB#FFFFFF#000000##FFFFFF
##4162DB1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#0065D9
Tritanopia (blue-blind)
#008095
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4162db;
/* rgb */ color: rgb(65, 98, 219);
/* oklch */ color: oklch(54.2% 0.189 268.0);
Tailwind
colors: {
  custom: {
    50: '#888ee7',
    500: '#4162db',
    950: '#000000',
  },
}
SCSS
$custom: #4162db;
$custom-light: #888ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#4162db",
  "rgb": {
    "r": 65,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 227.143,
    "s": 68.142,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54167,
    "c": 0.18874,
    "h": 268
  },
  "luminance": 0.14974
}

Semantic roles & 50–950 ramp

primary
#4162DB
secondary
#DCCE9C
accent
#C63DEB
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4162DB

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

Preview Lab → · Contrast checker → · Palette generator →

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