#4172C9#4172C9

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

Color values

HEX#4172C9
RGBrgb(65, 114, 201)
HSLhsl(218, 56%, 52%)
HSVhsv(218, 68%, 79%)
CMYKcmyk(67.7%, 43.3%, 0%, 21.2%)
CIE-LABlab(48.73, 12.00, -50.17)
CIE-LCHlch(48.73, 51.58, 283.45°)
OKLaboklab(56.18% -0.0228 -0.1433)
OKLCHoklch(56.18% 0.145 261)
XYZxyz(18.7361, 17.3736, 57.6130)
Luminance0.1737 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4172C9 #C99841
analogous
#41B6C9 #4172C9 #5441C9
triadic
#4172C9 #C94172 #72C941
tetradic
#4172C9 #C941B6 #C99841 #41C954
square
#4172C9 #C941B6 #C99841 #41C954
split-complementary
#4172C9 #C95441 #B6C941
monochromatic
#203D70 #2D569F #4172C9 #7195D7 #A0B9E4

Accessibility & contrast

On white

4.69
#4172C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#4172C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4172C9
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4172C9#FFFFFF#000000##FFFFFF
##4172C91.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#487ACC
Deuteranopia (green-blind)
#316EC7
Tritanopia (blue-blind)
#008694
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4172c9;
/* rgb */ color: rgb(65, 114, 201);
/* oklch */ color: oklch(56.2% 0.145 261.0);
Tailwind
colors: {
  custom: {
    50: '#849ada',
    500: '#4172c9',
    950: '#000000',
  },
}
SCSS
$custom: #4172c9;
$custom-light: #849ada;
$custom-dark: #000000;
JSON
{
  "hex": "#4172c9",
  "rgb": {
    "r": 65,
    "g": 114,
    "b": 201
  },
  "hsl": {
    "h": 218.382,
    "s": 55.738,
    "l": 52.157
  },
  "oklch": {
    "l": 0.56178,
    "c": 0.14511,
    "h": 261
  },
  "luminance": 0.17375
}

Semantic roles & 50–950 ramp

primary
#4172C9
secondary
#D1BB95
accent
#A949DF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4172C9

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

Preview Lab → · Contrast checker → · Palette generator →

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