#4168D5#4168D5

#4168D5 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 54.9% C 0.173 H 266.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4168D5
RGBrgb(65, 104, 213)
HSLhsl(224, 64%, 55%)
HSVhsv(224, 69%, 84%)
CMYKcmyk(69.5%, 51.2%, 0%, 16.5%)
CIE-LABlab(46.75, 22.59, -60.21)
CIE-LCHlch(46.75, 64.31, 290.57°)
OKLaboklab(54.9% -0.012 -0.173)
OKLCHoklch(54.9% 0.173 266)
XYZxyz(19.1363, 15.8266, 64.9842)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4168D5 #D5AE41
analogous
#41B2D5 #4168D5 #6441D5
triadic
#4168D5 #D54168 #68D541
tetradic
#4168D5 #D541B2 #D5AE41 #41D564
square
#4168D5 #D541B2 #D5AE41 #41D564
split-complementary
#4168D5 #D56441 #B2D541
monochromatic
#1C367F #274CB2 #4168D5 #7390E0 #A5B8EB

Accessibility & contrast

On white

5.04
#4168D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#4168D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4168D5
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4168D5#FFFFFF#000000##FFFFFF
##4168D51.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2476D9
Deuteranopia (green-blind)
#0068D3
Tritanopia (blue-blind)
#008294
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4168d5;
/* rgb */ color: rgb(65, 104, 213);
/* oklch */ color: oklch(54.9% 0.173 266.0);
Tailwind
colors: {
  custom: {
    50: '#8792e3',
    500: '#4168d5',
    950: '#000000',
  },
}
SCSS
$custom: #4168d5;
$custom-light: #8792e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4168d5",
  "rgb": {
    "r": 65,
    "g": 104,
    "b": 213
  },
  "hsl": {
    "h": 224.189,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.54903,
    "c": 0.17341,
    "h": 266
  },
  "luminance": 0.15829
}

Semantic roles & 50–950 ramp

primary
#4168D5
secondary
#D8C89A
accent
#BB41E7
background
#F8F8FE
surface
#F0F0FC
border
#CBCBD5
text
#0D0D15
muted
#7D7D84

Preview Lab

Preview with #4168D5

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

Preview Lab → · Contrast checker → · Palette generator →

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