#4173DD#4173DD

#4173DD is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.7% C 0.171 H 263.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#4173DD
RGBrgb(65, 115, 221)
HSLhsl(221, 70%, 56%)
HSVhsv(221, 71%, 87%)
CMYKcmyk(70.6%, 48%, 0%, 13.3%)
CIE-LABlab(50.22, 18.54, -59.14)
CIE-LCHlch(50.22, 61.98, 287.41°)
OKLaboklab(57.72% -0.0205 -0.1697)
OKLCHoklch(57.72% 0.171 263.1)
XYZxyz(21.3572, 18.6035, 70.8579)
Luminance0.1861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4173DD #DDAB41
analogous
#41C1DD #4173DD #5D41DD
triadic
#4173DD #DD4173 #73DD41
tetradic
#4173DD #DD41C1 #DDAB41 #41DD5D
square
#4173DD #DD41C1 #DDAB41 #41DD5D
split-complementary
#4173DD #DD5D41 #C1DD41
monochromatic
#193D8B #2254BF #4173DD #7599E6 #A9BFF0

Accessibility & contrast

On white

4.45
#4173DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#4173DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4173DD
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4173DD#FFFFFF#000000##000000
##4173DD1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#397FE1
Deuteranopia (green-blind)
#0771DB
Tritanopia (blue-blind)
#008C9D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4173dd;
/* rgb */ color: rgb(65, 115, 221);
/* oklch */ color: oklch(57.7% 0.171 263.1);
Tailwind
colors: {
  custom: {
    50: '#889ae8',
    500: '#4173dd',
    950: '#000000',
  },
}
SCSS
$custom: #4173dd;
$custom-light: #889ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#4173dd",
  "rgb": {
    "r": 65,
    "g": 115,
    "b": 221
  },
  "hsl": {
    "h": 220.769,
    "s": 69.643,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57717,
    "c": 0.17092,
    "h": 263.1
  },
  "luminance": 0.18606
}

Semantic roles & 50–950 ramp

primary
#4173DD
secondary
#DDC89D
accent
#B43BEC
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4173DD

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

Preview Lab → · Contrast checker → · Palette generator →

#4173DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva