#4167C2#4167C2

#4167C2 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.4% C 0.149 H 264.8°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#4167C2
RGBrgb(65, 103, 194)
HSLhsl(222, 51%, 51%)
HSVhsv(222, 66%, 76%)
CMYKcmyk(66.5%, 46.9%, 0%, 23.9%)
CIE-LABlab(45.25, 16.42, -51.72)
CIE-LCHlch(45.25, 54.26, 287.61°)
OKLaboklab(53.37% -0.0135 -0.148)
OKLCHoklch(53.37% 0.149 264.8)
XYZxyz(16.7644, 14.7177, 52.9858)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4167C2 #C29C41
analogous
#41A7C2 #4167C2 #5C41C2
triadic
#4167C2 #C24167 #67C241
tetradic
#4167C2 #C241A7 #C29C41 #41C25C
square
#4167C2 #C241A7 #C29C41 #41C25C
split-complementary
#4167C2 #C25C41 #A7C241
monochromatic
#213667 #304E96 #4167C2 #6F8CD1 #9EB1E0

Accessibility & contrast

On white

5.32
#4167C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#4167C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4167C2
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4167C2#FFFFFF#000000##FFFFFF
##4167C21.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3971C5
Deuteranopia (green-blind)
#1E66C0
Tritanopia (blue-blind)
#007C8B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4167c2;
/* rgb */ color: rgb(65, 103, 194);
/* oklch */ color: oklch(53.4% 0.149 264.8);
Tailwind
colors: {
  custom: {
    50: '#8391d5',
    500: '#4167c2',
    950: '#000000',
  },
}
SCSS
$custom: #4167c2;
$custom-light: #8391d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4167c2",
  "rgb": {
    "r": 65,
    "g": 103,
    "b": 194
  },
  "hsl": {
    "h": 222.326,
    "s": 51.394,
    "l": 50.784
  },
  "oklch": {
    "l": 0.53366,
    "c": 0.14865,
    "h": 264.8
  },
  "luminance": 0.14719
}

Semantic roles & 50–950 ramp

primary
#4167C2
secondary
#CCBB93
accent
#B14DDB
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4167C2

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

Preview Lab → · Contrast checker → · Palette generator →

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