#4167CA#4167CA

#4167CA is a mid, vivid blue. Relative luminance 0.151; OKLCH L 53.9% C 0.160 H 265.5°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#4167CA
RGBrgb(65, 103, 202)
HSLhsl(223, 56%, 52%)
HSVhsv(223, 68%, 79%)
CMYKcmyk(67.8%, 49%, 0%, 20.8%)
CIE-LABlab(45.75, 19.28, -55.51)
CIE-LCHlch(45.75, 58.77, 289.16°)
OKLaboklab(53.92% -0.0124 -0.1592)
OKLCHoklch(53.92% 0.16 265.5)
XYZxyz(17.6872, 15.0868, 57.8456)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4167CA #CAA441
analogous
#41ABCA #4167CA #6041CA
triadic
#4167CA #CA4167 #67CA41
tetradic
#4167CA #CA41AB #CAA441 #41CA60
square
#4167CA #CA41AB #CAA441 #41CA60
split-complementary
#4167CA #CA6041 #ABCA41
monochromatic
#203671 #2D4DA1 #4167CA #718DD7 #A1B4E5

Accessibility & contrast

On white

5.23
#4167CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#4167CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4167CA
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4167CA#FFFFFF#000000##FFFFFF
##4167CA1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3073CE
Deuteranopia (green-blind)
#0566C8
Tritanopia (blue-blind)
#007E8F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4167ca;
/* rgb */ color: rgb(65, 103, 202);
/* oklch */ color: oklch(53.9% 0.160 265.5);
Tailwind
colors: {
  custom: {
    50: '#8591db',
    500: '#4167ca',
    950: '#000000',
  },
}
SCSS
$custom: #4167ca;
$custom-light: #8591db;
$custom-dark: #000000;
JSON
{
  "hex": "#4167ca",
  "rgb": {
    "r": 65,
    "g": 103,
    "b": 202
  },
  "hsl": {
    "h": 223.358,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.53917,
    "c": 0.15968,
    "h": 265.5
  },
  "luminance": 0.15089
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4167CA

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

Preview Lab → · Contrast checker → · Palette generator →

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