#4168CE#4168CE

#4168CE is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.4% C 0.164 H 265.5°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#4168CE
RGBrgb(65, 104, 206)
HSLhsl(223, 59%, 53%)
HSVhsv(223, 68%, 81%)
CMYKcmyk(68.4%, 49.5%, 0%, 19.2%)
CIE-LABlab(46.28, 20.08, -56.95)
CIE-LCHlch(46.28, 60.39, 289.42°)
OKLaboklab(54.4% -0.0128 -0.1634)
OKLCHoklch(54.4% 0.164 265.5)
XYZxyz(18.2670, 15.4789, 60.4056)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4168CE #CEA741
analogous
#41AFCE #4168CE #6041CE
triadic
#4168CE #CE4168 #68CE41
tetradic
#4168CE #CE41AF #CEA741 #41CE60
square
#4168CE #CE41AF #CEA741 #41CE60
split-complementary
#4168CE #CE6041 #AFCE41
monochromatic
#1E3776 #2B4DA7 #4168CE #728FDB #A2B5E7

Accessibility & contrast

On white

5.13
#4168CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#4168CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4168CE
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4168CE#FFFFFF#000000##FFFFFF
##4168CE1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E74D2
Deuteranopia (green-blind)
#0068CC
Tritanopia (blue-blind)
#008091
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4168ce;
/* rgb */ color: rgb(65, 104, 206);
/* oklch */ color: oklch(54.4% 0.164 265.5);
Tailwind
colors: {
  custom: {
    50: '#8592de',
    500: '#4168ce',
    950: '#000000',
  },
}
SCSS
$custom: #4168ce;
$custom-light: #8592de;
$custom-dark: #000000;
JSON
{
  "hex": "#4168ce",
  "rgb": {
    "r": 65,
    "g": 104,
    "b": 206
  },
  "hsl": {
    "h": 223.404,
    "s": 58.996,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54404,
    "c": 0.16392,
    "h": 265.5
  },
  "luminance": 0.15481
}

Semantic roles & 50–950 ramp

primary
#4168CE
secondary
#D4C397
accent
#B746E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0D15
muted
#7D7D83

Preview Lab

Preview with #4168CE

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

Preview Lab → · Contrast checker → · Palette generator →

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