#4172DB#4172DB

#4172DB is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.4% C 0.169 H 263.3°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#4172DB
RGBrgb(65, 114, 219)
HSLhsl(221, 68%, 56%)
HSVhsv(221, 70%, 86%)
CMYKcmyk(70.3%, 47.9%, 0%, 14.1%)
CIE-LABlab(49.82, 18.45, -58.65)
CIE-LCHlch(49.82, 61.49, 287.46°)
OKLaboklab(57.37% -0.0199 -0.1683)
OKLCHoklch(57.37% 0.169 263.3)
XYZxyz(20.9789, 18.2707, 69.4251)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4172DB #DBAA41
analogous
#41BFDB #4172DB #5D41DB
triadic
#4172DB #DB4172 #72DB41
tetradic
#4172DB #DB41BF #DBAA41 #41DB5D
square
#4172DB #DB41BF #DBAA41 #41DB5D
split-complementary
#4172DB #DB5D41 #BFDB41
monochromatic
#1A3D88 #2354BB #4172DB #7498E5 #A8BEEE

Accessibility & contrast

On white

4.51
#4172DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#4172DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4172DB
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4172DB#FFFFFF#000000##000000
##4172DB1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#387EDF
Deuteranopia (green-blind)
#0970D9
Tritanopia (blue-blind)
#008B9C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4172db;
/* rgb */ color: rgb(65, 114, 219);
/* oklch */ color: oklch(57.4% 0.169 263.3);
Tailwind
colors: {
  custom: {
    50: '#8899e7',
    500: '#4172db',
    950: '#000000',
  },
}
SCSS
$custom: #4172db;
$custom-light: #8899e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4172db",
  "rgb": {
    "r": 65,
    "g": 114,
    "b": 219
  },
  "hsl": {
    "h": 220.909,
    "s": 68.142,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57373,
    "c": 0.16943,
    "h": 263.3
  },
  "luminance": 0.18273
}

Semantic roles & 50–950 ramp

primary
#4172DB
secondary
#DCC89C
accent
#B43DEB
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4172DB

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

Preview Lab → · Contrast checker → · Palette generator →

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