#4172CB#4172CB

#4172CB is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.3% C 0.148 H 261.3°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#4172CB
RGBrgb(65, 114, 203)
HSLhsl(219, 57%, 53%)
HSVhsv(219, 68%, 80%)
CMYKcmyk(68%, 43.8%, 0%, 20.4%)
CIE-LABlab(48.84, 12.71, -51.12)
CIE-LCHlch(48.84, 52.68, 283.96°)
OKLaboklab(56.31% -0.0224 -0.1461)
OKLCHoklch(56.31% 0.148 261.3)
XYZxyz(18.9729, 17.4683, 58.8602)
Luminance0.1747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4172CB #CB9A41
analogous
#41B7CB #4172CB #5541CB
triadic
#4172CB #CB4172 #72CB41
tetradic
#4172CB #CB41B7 #CB9A41 #41CB55
square
#4172CB #CB41B7 #CB9A41 #41CB55
split-complementary
#4172CB #CB5541 #B7CB41
monochromatic
#1F3D72 #2C56A2 #4172CB #7196D8 #A1B9E5

Accessibility & contrast

On white

4.67
#4172CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#4172CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4172CB
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4172CB#FFFFFF#000000##FFFFFF
##4172CB1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#477BCE
Deuteranopia (green-blind)
#2F6EC9
Tritanopia (blue-blind)
#008794
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4172cb;
/* rgb */ color: rgb(65, 114, 203);
/* oklch */ color: oklch(56.3% 0.148 261.3);
Tailwind
colors: {
  custom: {
    50: '#849adb',
    500: '#4172cb',
    950: '#000000',
  },
}
SCSS
$custom: #4172cb;
$custom-light: #849adb;
$custom-dark: #000000;
JSON
{
  "hex": "#4172cb",
  "rgb": {
    "r": 65,
    "g": 114,
    "b": 203
  },
  "hsl": {
    "h": 218.696,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.56307,
    "c": 0.14783,
    "h": 261.3
  },
  "luminance": 0.1747
}

Semantic roles & 50–950 ramp

primary
#4172CB
secondary
#D2BD96
accent
#AA48E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #4172CB

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

Preview Lab → · Contrast checker → · Palette generator →

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