#4172CA#4172CA

#4172CA is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.2% C 0.146 H 261.1°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#4172CA
RGBrgb(65, 114, 202)
HSLhsl(219, 56%, 52%)
HSVhsv(219, 68%, 79%)
CMYKcmyk(67.8%, 43.6%, 0%, 20.8%)
CIE-LABlab(48.79, 12.35, -50.64)
CIE-LCHlch(48.79, 52.13, 283.71°)
OKLaboklab(56.24% -0.0226 -0.1447)
OKLCHoklch(56.24% 0.146 261.1)
XYZxyz(18.8542, 17.4208, 58.2346)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4172CA #CA9941
analogous
#41B7CA #4172CA #5441CA
triadic
#4172CA #CA4172 #72CA41
tetradic
#4172CA #CA41B7 #CA9941 #41CA54
square
#4172CA #CA41B7 #CA9941 #41CA54
split-complementary
#4172CA #CA5441 #B7CA41
monochromatic
#203D71 #2D56A1 #4172CA #7196D7 #A1B9E5

Accessibility & contrast

On white

4.68
#4172CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#4172CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4172CA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4172CA#FFFFFF#000000##FFFFFF
##4172CA1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#487BCD
Deuteranopia (green-blind)
#306EC8
Tritanopia (blue-blind)
#008694
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4172ca;
/* rgb */ color: rgb(65, 114, 202);
/* oklch */ color: oklch(56.2% 0.146 261.1);
Tailwind
colors: {
  custom: {
    50: '#849adb',
    500: '#4172ca',
    950: '#000000',
  },
}
SCSS
$custom: #4172ca;
$custom-light: #849adb;
$custom-dark: #000000;
JSON
{
  "hex": "#4172ca",
  "rgb": {
    "r": 65,
    "g": 114,
    "b": 202
  },
  "hsl": {
    "h": 218.54,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.56243,
    "c": 0.14647,
    "h": 261.1
  },
  "luminance": 0.17423
}

Semantic roles & 50–950 ramp

primary
#4172CA
secondary
#D1BC96
accent
#A948E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #4172CA

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

Preview Lab → · Contrast checker → · Palette generator →

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