#4172D8#4172D8

#4172D8 is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.2% C 0.165 H 262.9°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#4172D8
RGBrgb(65, 114, 216)
HSLhsl(221, 66%, 55%)
HSVhsv(221, 70%, 85%)
CMYKcmyk(69.9%, 47.2%, 0%, 15.3%)
CIE-LABlab(49.63, 17.37, -57.26)
CIE-LCHlch(49.63, 59.83, 286.88°)
OKLaboklab(57.17% -0.0203 -0.1642)
OKLCHoklch(57.17% 0.165 262.9)
XYZxyz(20.5876, 18.1142, 67.3638)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4172D8 #D8A741
analogous
#41BDD8 #4172D8 #5C41D8
triadic
#4172D8 #D84172 #72D841
tetradic
#4172D8 #D841BD #D8A741 #41D85C
square
#4172D8 #D841BD #D8A741 #41D85C
split-complementary
#4172D8 #D85C41 #BDD841
monochromatic
#1B3D84 #2554B6 #4172D8 #7498E2 #A7BDED

Accessibility & contrast

On white

4.54
#4172D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#4172D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4172D8
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4172D8#FFFFFF#000000##000000
##4172D81.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7DDC
Deuteranopia (green-blind)
#1570D6
Tritanopia (blue-blind)
#008A9A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4172d8;
/* rgb */ color: rgb(65, 114, 216);
/* oklch */ color: oklch(57.2% 0.165 262.9);
Tailwind
colors: {
  custom: {
    50: '#879ae5',
    500: '#4172d8',
    950: '#000000',
  },
}
SCSS
$custom: #4172d8;
$custom-light: #879ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#4172d8",
  "rgb": {
    "r": 65,
    "g": 114,
    "b": 216
  },
  "hsl": {
    "h": 220.53,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.57168,
    "c": 0.16541,
    "h": 262.9
  },
  "luminance": 0.18116
}

Semantic roles & 50–950 ramp

primary
#4172D8
secondary
#DAC69B
accent
#B23FE9
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4172D8

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

Preview Lab → · Contrast checker → · Palette generator →

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