#4172D5#4172D5

#4172D5 is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.0% C 0.161 H 262.6°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#4172D5
RGBrgb(65, 114, 213)
HSLhsl(220, 64%, 55%)
HSVhsv(220, 69%, 84%)
CMYKcmyk(69.5%, 46.5%, 0%, 16.5%)
CIE-LABlab(49.45, 16.30, -55.85)
CIE-LCHlch(49.45, 58.18, 286.26°)
OKLaboklab(56.97% -0.0208 -0.16)
OKLCHoklch(56.97% 0.161 262.6)
XYZxyz(20.2033, 17.9605, 65.3399)
Luminance0.1796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4172D5 #D5A441
analogous
#41BCD5 #4172D5 #5A41D5
triadic
#4172D5 #D54172 #72D541
tetradic
#4172D5 #D541BC #D5A441 #41D55A
square
#4172D5 #D541BC #D5A441 #41D55A
split-complementary
#4172D5 #D55A41 #BCD541
monochromatic
#1C3D7F #2755B2 #4172D5 #7397E0 #A5BCEB

Accessibility & contrast

On white

4.57
#4172D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#4172D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4172D5
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4172D5#FFFFFF#000000##000000
##4172D51.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7DD9
Deuteranopia (green-blind)
#1D6FD3
Tritanopia (blue-blind)
#008999
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4172d5;
/* rgb */ color: rgb(65, 114, 213);
/* oklch */ color: oklch(57.0% 0.161 262.6);
Tailwind
colors: {
  custom: {
    50: '#869ae2',
    500: '#4172d5',
    950: '#000000',
  },
}
SCSS
$custom: #4172d5;
$custom-light: #869ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#4172d5",
  "rgb": {
    "r": 65,
    "g": 114,
    "b": 213
  },
  "hsl": {
    "h": 220.135,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56965,
    "c": 0.16137,
    "h": 262.6
  },
  "luminance": 0.17963
}

Semantic roles & 50–950 ramp

primary
#4172D5
secondary
#D8C39A
accent
#B041E7
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0D15
muted
#7D7E83

Preview Lab

Preview with #4172D5

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

Preview Lab → · Contrast checker → · Palette generator →

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