#4168DF#4168DF

#4168DF is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.6% C 0.187 H 266.6°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#4168DF
RGBrgb(65, 104, 223)
HSLhsl(225, 71%, 56%)
HSVhsv(225, 71%, 87%)
CMYKcmyk(70.9%, 53.4%, 0%, 12.5%)
CIE-LABlab(47.43, 26.18, -64.78)
CIE-LCHlch(47.43, 69.87, 292.00°)
OKLaboklab(55.64% -0.0112 -0.1864)
OKLCHoklch(55.64% 0.187 266.6)
XYZxyz(20.4449, 16.3500, 71.8761)
Luminance0.1635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4168DF #DFB841
analogous
#41B7DF #4168DF #6941DF
triadic
#4168DF #DF4168 #68DF41
tetradic
#4168DF #DF41B7 #DFB841 #41DF69
square
#4168DF #DF41B7 #DFB841 #41DF69
split-complementary
#4168DF #DF6941 #B7DF41
monochromatic
#18358E #2149C2 #4168DF #7592E8 #AABBF1

Accessibility & contrast

On white

4.92
#4168DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#4168DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4168DF
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4168DF#FFFFFF#000000##FFFFFF
##4168DF1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0978E3
Deuteranopia (green-blind)
#006ADD
Tritanopia (blue-blind)
#008599
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4168df;
/* rgb */ color: rgb(65, 104, 223);
/* oklch */ color: oklch(55.6% 0.187 266.6);
Tailwind
colors: {
  custom: {
    50: '#8992ea',
    500: '#4168df',
    950: '#000000',
  },
}
SCSS
$custom: #4168df;
$custom-light: #8992ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4168df",
  "rgb": {
    "r": 65,
    "g": 104,
    "b": 223
  },
  "hsl": {
    "h": 225.19,
    "s": 71.171,
    "l": 56.471
  },
  "oklch": {
    "l": 0.55639,
    "c": 0.18678,
    "h": 266.6
  },
  "luminance": 0.16352
}

Semantic roles & 50–950 ramp

primary
#4168DF
secondary
#DECE9D
accent
#C13AEE
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0D16
muted
#7E7D84

Preview Lab

Preview with #4168DF

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

Preview Lab → · Contrast checker → · Palette generator →

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