#4167C7#4167C7

#4167C7 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 53.7% C 0.156 H 265.3°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#4167C7
RGBrgb(65, 103, 199)
HSLhsl(223, 54%, 52%)
HSVhsv(223, 67%, 78%)
CMYKcmyk(67.3%, 48.2%, 0%, 22%)
CIE-LABlab(45.56, 18.21, -54.10)
CIE-LCHlch(45.56, 57.08, 288.60°)
OKLaboklab(53.71% -0.0128 -0.155)
OKLCHoklch(53.71% 0.156 265.3)
XYZxyz(17.3354, 14.9461, 55.9931)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4167C7 #C7A141
analogous
#41AAC7 #4167C7 #5E41C7
triadic
#4167C7 #C74167 #67C741
tetradic
#4167C7 #C741AA #C7A141 #41C75E
square
#4167C7 #C741AA #C7A141 #41C75E
split-complementary
#4167C7 #C75E41 #AAC741
monochromatic
#20366D #2E4D9D #4167C7 #708DD5 #A0B3E3

Accessibility & contrast

On white

5.26
#4167C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#4167C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4167C7
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4167C7#FFFFFF#000000##FFFFFF
##4167C71.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3472CB
Deuteranopia (green-blind)
#1266C5
Tritanopia (blue-blind)
#007D8D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4167c7;
/* rgb */ color: rgb(65, 103, 199);
/* oklch */ color: oklch(53.7% 0.156 265.3);
Tailwind
colors: {
  custom: {
    50: '#8491d9',
    500: '#4167c7',
    950: '#000000',
  },
}
SCSS
$custom: #4167c7;
$custom-light: #8491d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4167c7",
  "rgb": {
    "r": 65,
    "g": 103,
    "b": 199
  },
  "hsl": {
    "h": 222.985,
    "s": 54.472,
    "l": 51.765
  },
  "oklch": {
    "l": 0.53708,
    "c": 0.15556,
    "h": 265.3
  },
  "luminance": 0.14948
}

Semantic roles & 50–950 ramp

primary
#4167C7
secondary
#CFBF95
accent
#B44ADE
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4167C7

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

Preview Lab → · Contrast checker → · Palette generator →

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