#4172DD#4172DD

#4172DD is a mid, vivid blue. Relative luminance 0.184; OKLCH L 57.5% C 0.172 H 263.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#4172DD
RGBrgb(65, 114, 221)
HSLhsl(221, 70%, 56%)
HSVhsv(221, 71%, 87%)
CMYKcmyk(70.6%, 48.4%, 0%, 13.3%)
CIE-LABlab(49.95, 19.17, -59.58)
CIE-LCHlch(49.95, 62.59, 287.84°)
OKLaboklab(57.51% -0.0196 -0.171)
OKLCHoklch(57.51% 0.172 263.5)
XYZxyz(21.2438, 18.3767, 70.8201)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4172DD #DDAC41
analogous
#41C0DD #4172DD #5E41DD
triadic
#4172DD #DD4172 #72DD41
tetradic
#4172DD #DD41C0 #DDAC41 #41DD5E
square
#4172DD #DD41C0 #DDAC41 #41DD5E
split-complementary
#4172DD #DD5E41 #C0DD41
monochromatic
#193D8B #2253BF #4172DD #7599E6 #A9BFF0

Accessibility & contrast

On white

4.49
#4172DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#4172DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4172DD
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4172DD#FFFFFF#000000##000000
##4172DD1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#367EE1
Deuteranopia (green-blind)
#0070DB
Tritanopia (blue-blind)
#008B9D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4172dd;
/* rgb */ color: rgb(65, 114, 221);
/* oklch */ color: oklch(57.5% 0.172 263.5);
Tailwind
colors: {
  custom: {
    50: '#8899e8',
    500: '#4172dd',
    950: '#000000',
  },
}
SCSS
$custom: #4172dd;
$custom-light: #8899e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4172dd",
  "rgb": {
    "r": 65,
    "g": 114,
    "b": 221
  },
  "hsl": {
    "h": 221.154,
    "s": 69.643,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57511,
    "c": 0.17211,
    "h": 263.5
  },
  "luminance": 0.18379
}

Semantic roles & 50–950 ramp

primary
#4172DD
secondary
#DDC99D
accent
#B53BEC
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4172DD

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

Preview Lab → · Contrast checker → · Palette generator →

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