#4167CB#4167CB

#4167CB is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.0% C 0.161 H 265.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4167CB
RGBrgb(65, 103, 203)
HSLhsl(223, 57%, 53%)
HSVhsv(223, 68%, 80%)
CMYKcmyk(68%, 49.3%, 0%, 20.4%)
CIE-LABlab(45.82, 19.64, -55.98)
CIE-LCHlch(45.82, 59.33, 289.33°)
OKLaboklab(53.99% -0.0123 -0.1606)
OKLCHoklch(53.99% 0.161 265.6)
XYZxyz(17.8060, 15.1344, 58.4712)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4167CB #CBA541
analogous
#41ACCB #4167CB #6041CB
triadic
#4167CB #CB4167 #67CB41
tetradic
#4167CB #CB41AC #CBA541 #41CB60
square
#4167CB #CB41AC #CBA541 #41CB60
split-complementary
#4167CB #CB6041 #ACCB41
monochromatic
#1F3672 #2C4DA2 #4167CB #718DD8 #A1B4E5

Accessibility & contrast

On white

5.21
#4167CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#4167CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4167CB
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4167CB#FFFFFF#000000##FFFFFF
##4167CB1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F73CF
Deuteranopia (green-blind)
#0067C9
Tritanopia (blue-blind)
#007E8F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4167cb;
/* rgb */ color: rgb(65, 103, 203);
/* oklch */ color: oklch(54.0% 0.161 265.6);
Tailwind
colors: {
  custom: {
    50: '#8591db',
    500: '#4167cb',
    950: '#000000',
  },
}
SCSS
$custom: #4167cb;
$custom-light: #8591db;
$custom-dark: #000000;
JSON
{
  "hex": "#4167cb",
  "rgb": {
    "r": 65,
    "g": 103,
    "b": 203
  },
  "hsl": {
    "h": 223.478,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.53987,
    "c": 0.16105,
    "h": 265.6
  },
  "luminance": 0.15136
}

Semantic roles & 50–950 ramp

primary
#4167CB
secondary
#D2C196
accent
#B648E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4167CB

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

Preview Lab → · Contrast checker → · Palette generator →

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