#4167D5#4167D5

#4167D5 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.7% C 0.175 H 266.3°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#4167D5
RGBrgb(65, 103, 213)
HSLhsl(225, 64%, 55%)
HSVhsv(225, 69%, 84%)
CMYKcmyk(69.5%, 51.6%, 0%, 16.5%)
CIE-LABlab(46.48, 23.23, -60.63)
CIE-LCHlch(46.48, 64.93, 290.96°)
OKLaboklab(54.7% -0.0112 -0.1743)
OKLCHoklch(54.7% 0.175 266.3)
XYZxyz(19.0363, 15.6265, 64.9509)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4167D5 #D5AF41
analogous
#41B1D5 #4167D5 #6541D5
triadic
#4167D5 #D54167 #67D541
tetradic
#4167D5 #D541B1 #D5AF41 #41D565
square
#4167D5 #D541B1 #D5AF41 #41D565
split-complementary
#4167D5 #D56541 #B1D541
monochromatic
#1C367F #274BB2 #4167D5 #738FE0 #A5B7EB

Accessibility & contrast

On white

5.09
#4167D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#4167D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4167D5
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4167D5#FFFFFF#000000##FFFFFF
##4167D51.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2075D9
Deuteranopia (green-blind)
#0068D3
Tritanopia (blue-blind)
#008194
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4167d5;
/* rgb */ color: rgb(65, 103, 213);
/* oklch */ color: oklch(54.7% 0.175 266.3);
Tailwind
colors: {
  custom: {
    50: '#8791e3',
    500: '#4167d5',
    950: '#000000',
  },
}
SCSS
$custom: #4167d5;
$custom-light: #8791e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4167d5",
  "rgb": {
    "r": 65,
    "g": 103,
    "b": 213
  },
  "hsl": {
    "h": 224.595,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.54702,
    "c": 0.17463,
    "h": 266.3
  },
  "luminance": 0.15628
}

Semantic roles & 50–950 ramp

primary
#4167D5
secondary
#D8C89A
accent
#BC41E7
background
#F8F8FE
surface
#F0F0FC
border
#CBCBD5
text
#0D0C15
muted
#7D7D84

Preview Lab

Preview with #4167D5

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

Preview Lab → · Contrast checker → · Palette generator →

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