#4172CE#4172CE

#4172CE is a mid, vivid blue. Relative luminance 0.176; OKLCH L 56.5% C 0.152 H 261.7°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#4172CE
RGBrgb(65, 114, 206)
HSLhsl(219, 59%, 53%)
HSVhsv(219, 68%, 81%)
CMYKcmyk(68.4%, 44.7%, 0%, 19.2%)
CIE-LABlab(49.02, 13.78, -52.55)
CIE-LCHlch(49.02, 54.33, 284.70°)
OKLaboklab(56.5% -0.0219 -0.1503)
OKLCHoklch(56.5% 0.152 261.7)
XYZxyz(19.3339, 17.6127, 60.7612)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4172CE #CE9D41
analogous
#41B8CE #4172CE #5641CE
triadic
#4172CE #CE4172 #72CE41
tetradic
#4172CE #CE41B8 #CE9D41 #41CE56
square
#4172CE #CE41B8 #CE9D41 #41CE56
split-complementary
#4172CE #CE5641 #B8CE41
monochromatic
#1E3D76 #2B56A7 #4172CE #7296DB #A2BAE7

Accessibility & contrast

On white

4.64
#4172CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#4172CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4172CE
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4172CE#FFFFFF#000000##FFFFFF
##4172CE1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#457BD1
Deuteranopia (green-blind)
#2A6ECC
Tritanopia (blue-blind)
#008796
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4172ce;
/* rgb */ color: rgb(65, 114, 206);
/* oklch */ color: oklch(56.5% 0.152 261.7);
Tailwind
colors: {
  custom: {
    50: '#859add',
    500: '#4172ce',
    950: '#000000',
  },
}
SCSS
$custom: #4172ce;
$custom-light: #859add;
$custom-dark: #000000;
JSON
{
  "hex": "#4172ce",
  "rgb": {
    "r": 65,
    "g": 114,
    "b": 206
  },
  "hsl": {
    "h": 219.149,
    "s": 58.996,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56502,
    "c": 0.15191,
    "h": 261.7
  },
  "luminance": 0.17615
}

Semantic roles & 50–950 ramp

primary
#4172CE
secondary
#D4BF97
accent
#AC46E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #4172CE

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

Preview Lab → · Contrast checker → · Palette generator →

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