#4168E5#4168E5

#4168E5 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.1% C 0.195 H 266.8°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#4168E5
RGBrgb(65, 104, 229)
HSLhsl(226, 76%, 58%)
HSVhsv(226, 72%, 90%)
CMYKcmyk(71.6%, 54.6%, 0%, 10.2%)
CIE-LABlab(47.85, 28.32, -67.48)
CIE-LCHlch(47.85, 73.19, 292.77°)
OKLaboklab(56.09% -0.0108 -0.1944)
OKLCHoklch(56.09% 0.195 266.8)
XYZxyz(21.2682, 16.6794, 76.2121)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4168E5 #E5BE41
analogous
#41BAE5 #4168E5 #6C41E5
triadic
#4168E5 #E54168 #68E541
tetradic
#4168E5 #E541BA #E5BE41 #41E56C
square
#4168E5 #E541BA #E5BE41 #41E56C
split-complementary
#4168E5 #E56C41 #BAE541
monochromatic
#153497 #1C46CD #4168E5 #7793EC #ADBEF4

Accessibility & contrast

On white

4.84
#4168E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#4168E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4168E5
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4168E5#FFFFFF#000000##FFFFFF
##4168E51.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079E9
Deuteranopia (green-blind)
#006AE3
Tritanopia (blue-blind)
#00879C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4168e5;
/* rgb */ color: rgb(65, 104, 229);
/* oklch */ color: oklch(56.1% 0.195 266.8);
Tailwind
colors: {
  custom: {
    50: '#8a92ee',
    500: '#4168e5',
    950: '#000000',
  },
}
SCSS
$custom: #4168e5;
$custom-light: #8a92ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4168e5",
  "rgb": {
    "r": 65,
    "g": 104,
    "b": 229
  },
  "hsl": {
    "h": 225.732,
    "s": 75.926,
    "l": 57.647
  },
  "oklch": {
    "l": 0.56092,
    "c": 0.19471,
    "h": 266.8
  },
  "luminance": 0.16682
}

Semantic roles & 50–950 ramp

primary
#4168E5
secondary
#E2D2A0
accent
#C635F3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0D16
muted
#7E7D84

Preview Lab

Preview with #4168E5

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

Preview Lab → · Contrast checker → · Palette generator →

#4168E5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva