#4167CC#4167CC

#4167CC is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.1% C 0.162 H 265.7°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4167CC
RGBrgb(65, 103, 204)
HSLhsl(224, 58%, 53%)
HSVhsv(224, 68%, 80%)
CMYKcmyk(68.1%, 49.5%, 0%, 20%)
CIE-LABlab(45.88, 20.00, -56.45)
CIE-LCHlch(45.88, 59.89, 289.51°)
OKLaboklab(54.06% -0.0122 -0.162)
OKLCHoklch(54.06% 0.162 265.7)
XYZxyz(17.9255, 15.1822, 59.1008)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4167CC #CCA641
analogous
#41ACCC #4167CC #6041CC
triadic
#4167CC #CC4167 #67CC41
tetradic
#4167CC #CC41AC #CCA641 #41CC60
square
#4167CC #CC41AC #CCA641 #41CC60
split-complementary
#4167CC #CC6041 #ACCC41
monochromatic
#1F3674 #2C4DA4 #4167CC #718ED9 #A1B4E6

Accessibility & contrast

On white

5.20
#4167CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#4167CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4167CC
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4167CC#FFFFFF#000000##FFFFFF
##4167CC1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E73D0
Deuteranopia (green-blind)
#0067CA
Tritanopia (blue-blind)
#007F90
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4167cc;
/* rgb */ color: rgb(65, 103, 204);
/* oklch */ color: oklch(54.1% 0.162 265.7);
Tailwind
colors: {
  custom: {
    50: '#8591dc',
    500: '#4167cc',
    950: '#000000',
  },
}
SCSS
$custom: #4167cc;
$custom-light: #8591dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4167cc",
  "rgb": {
    "r": 65,
    "g": 103,
    "b": 204
  },
  "hsl": {
    "h": 223.597,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.54057,
    "c": 0.16242,
    "h": 265.7
  },
  "luminance": 0.15184
}

Semantic roles & 50–950 ramp

primary
#4167CC
secondary
#D3C296
accent
#B747E1
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4167CC

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

Preview Lab → · Contrast checker → · Palette generator →

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