#4167DF#4167DF

#4167DF is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.4% C 0.188 H 266.8°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#4167DF
RGBrgb(65, 103, 223)
HSLhsl(226, 71%, 56%)
HSVhsv(226, 71%, 87%)
CMYKcmyk(70.9%, 53.8%, 0%, 12.5%)
CIE-LABlab(47.17, 26.81, -65.20)
CIE-LCHlch(47.17, 70.50, 292.35°)
OKLaboklab(55.44% -0.0104 -0.1877)
OKLCHoklch(55.44% 0.188 266.8)
XYZxyz(20.3449, 16.1499, 71.8428)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4167DF #DFB941
analogous
#41B6DF #4167DF #6A41DF
triadic
#4167DF #DF4167 #67DF41
tetradic
#4167DF #DF41B6 #DFB941 #41DF6A
square
#4167DF #DF41B6 #DFB941 #41DF6A
split-complementary
#4167DF #DF6A41 #B6DF41
monochromatic
#18348E #2148C2 #4167DF #7591E8 #AABBF1

Accessibility & contrast

On white

4.96
#4167DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#4167DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4167DF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4167DF#FFFFFF#000000##FFFFFF
##4167DF1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E3
Deuteranopia (green-blind)
#0069DD
Tritanopia (blue-blind)
#008499
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4167df;
/* rgb */ color: rgb(65, 103, 223);
/* oklch */ color: oklch(55.4% 0.188 266.8);
Tailwind
colors: {
  custom: {
    50: '#8991ea',
    500: '#4167df',
    950: '#000000',
  },
}
SCSS
$custom: #4167df;
$custom-light: #8991ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4167df",
  "rgb": {
    "r": 65,
    "g": 103,
    "b": 223
  },
  "hsl": {
    "h": 225.57,
    "s": 71.171,
    "l": 56.471
  },
  "oklch": {
    "l": 0.55443,
    "c": 0.188,
    "h": 266.8
  },
  "luminance": 0.16152
}

Semantic roles & 50–950 ramp

primary
#4167DF
secondary
#DECF9D
accent
#C33AEE
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4167DF

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

Preview Lab → · Contrast checker → · Palette generator →

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