#4172DF#4172DF

#4172DF is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.6% C 0.175 H 263.6°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4172DF
RGBrgb(65, 114, 223)
HSLhsl(221, 71%, 56%)
HSVhsv(221, 71%, 87%)
CMYKcmyk(70.9%, 48.9%, 0%, 12.5%)
CIE-LABlab(50.08, 19.89, -60.50)
CIE-LCHlch(50.08, 63.69, 288.20°)
OKLaboklab(57.65% -0.0194 -0.1737)
OKLCHoklch(57.65% 0.175 263.6)
XYZxyz(21.5119, 18.4839, 72.2318)
Luminance0.1849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4172DF #DFAE41
analogous
#41C1DF #4172DF #5F41DF
triadic
#4172DF #DF4172 #72DF41
tetradic
#4172DF #DF41C1 #DFAE41 #41DF5F
square
#4172DF #DF41C1 #DFAE41 #41DF5F
split-complementary
#4172DF #DF5F41 #C1DF41
monochromatic
#183C8E #2153C2 #4172DF #7599E8 #AAC0F1

Accessibility & contrast

On white

4.47
#4172DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#4172DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4172DF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4172DF#FFFFFF#000000##000000
##4172DF1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#347FE3
Deuteranopia (green-blind)
#0070DD
Tritanopia (blue-blind)
#008C9E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4172df;
/* rgb */ color: rgb(65, 114, 223);
/* oklch */ color: oklch(57.6% 0.175 263.6);
Tailwind
colors: {
  custom: {
    50: '#8899ea',
    500: '#4172df',
    950: '#000000',
  },
}
SCSS
$custom: #4172df;
$custom-light: #8899ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4172df",
  "rgb": {
    "r": 65,
    "g": 114,
    "b": 223
  },
  "hsl": {
    "h": 221.392,
    "s": 71.171,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57649,
    "c": 0.17479,
    "h": 263.6
  },
  "luminance": 0.18486
}

Semantic roles & 50–950 ramp

primary
#4172DF
secondary
#DECA9D
accent
#B63AEE
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4172DF

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

Preview Lab → · Contrast checker → · Palette generator →

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