#4168DC#4168DC

#4168DC is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.4% C 0.183 H 266.4°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#4168DC
RGBrgb(65, 104, 220)
HSLhsl(225, 69%, 56%)
HSVhsv(225, 70%, 86%)
CMYKcmyk(70.5%, 52.7%, 0%, 13.7%)
CIE-LABlab(47.22, 25.10, -63.42)
CIE-LCHlch(47.22, 68.20, 291.60°)
OKLaboklab(55.42% -0.0114 -0.1824)
OKLCHoklch(55.42% 0.183 266.4)
XYZxyz(20.0440, 16.1897, 69.7648)
Luminance0.1619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4168DC #DCB541
analogous
#41B6DC #4168DC #6741DC
triadic
#4168DC #DC4168 #68DC41
tetradic
#4168DC #DC41B6 #DCB541 #41DC67
square
#4168DC #DC41B6 #DCB541 #41DC67
split-complementary
#4168DC #DC6741 #B6DC41
monochromatic
#193589 #234ABD #4168DC #7591E6 #A8BAEF

Accessibility & contrast

On white

4.95
#4168DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#4168DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4168DC
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4168DC#FFFFFF#000000##FFFFFF
##4168DC1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1477E0
Deuteranopia (green-blind)
#0069DA
Tritanopia (blue-blind)
#008498
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4168dc;
/* rgb */ color: rgb(65, 104, 220);
/* oklch */ color: oklch(55.4% 0.183 266.4);
Tailwind
colors: {
  custom: {
    50: '#8892e8',
    500: '#4168dc',
    950: '#000000',
  },
}
SCSS
$custom: #4168dc;
$custom-light: #8892e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4168dc",
  "rgb": {
    "r": 65,
    "g": 104,
    "b": 220
  },
  "hsl": {
    "h": 224.903,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55416,
    "c": 0.1828,
    "h": 266.4
  },
  "luminance": 0.16192
}

Semantic roles & 50–950 ramp

primary
#4168DC
secondary
#DDCC9C
accent
#C03CEC
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0D16
muted
#7E7D84

Preview Lab

Preview with #4168DC

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

Preview Lab → · Contrast checker → · Palette generator →

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