#4167DC#4167DC

#4167DC is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.2% C 0.184 H 266.7°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#4167DC
RGBrgb(65, 103, 220)
HSLhsl(225, 69%, 56%)
HSVhsv(225, 70%, 86%)
CMYKcmyk(70.5%, 53.2%, 0%, 13.7%)
CIE-LABlab(46.96, 25.73, -63.84)
CIE-LCHlch(46.96, 68.83, 291.95°)
OKLaboklab(55.22% -0.0106 -0.1837)
OKLCHoklch(55.22% 0.184 266.7)
XYZxyz(19.9440, 15.9896, 69.7315)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4167DC #DCB641
analogous
#41B5DC #4167DC #6841DC
triadic
#4167DC #DC4167 #67DC41
tetradic
#4167DC #DC41B5 #DCB641 #41DC68
square
#4167DC #DC41B5 #DCB641 #41DC68
split-complementary
#4167DC #DC6841 #B5DC41
monochromatic
#193589 #2349BD #4167DC #7590E6 #A8BAEF

Accessibility & contrast

On white

5.00
#4167DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#4167DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4167DC
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4167DC#FFFFFF#000000##FFFFFF
##4167DC1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D77E0
Deuteranopia (green-blind)
#0069DA
Tritanopia (blue-blind)
#008397
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4167dc;
/* rgb */ color: rgb(65, 103, 220);
/* oklch */ color: oklch(55.2% 0.184 266.7);
Tailwind
colors: {
  custom: {
    50: '#8891e8',
    500: '#4167dc',
    950: '#000000',
  },
}
SCSS
$custom: #4167dc;
$custom-light: #8891e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4167dc",
  "rgb": {
    "r": 65,
    "g": 103,
    "b": 220
  },
  "hsl": {
    "h": 225.29,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55218,
    "c": 0.18401,
    "h": 266.7
  },
  "luminance": 0.15992
}

Semantic roles & 50–950 ramp

primary
#4167DC
secondary
#DDCD9C
accent
#C13CEC
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4167DC

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

Preview Lab → · Contrast checker → · Palette generator →

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