#4172BE#4172BE

#4172BE is a mid, vivid blue. Relative luminance 0.169; OKLCH L 55.5% C 0.130 H 258.9°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#4172BE
RGBrgb(65, 114, 190)
HSLhsl(216, 49%, 50%)
HSVhsv(216, 66%, 75%)
CMYKcmyk(65.8%, 40%, 0%, 25.5%)
CIE-LABlab(48.10, 8.09, -44.84)
CIE-LCHlch(48.10, 45.57, 280.22°)
OKLaboklab(55.49% -0.0251 -0.1277)
OKLCHoklch(55.49% 0.13 258.9)
XYZxyz(17.4882, 16.8744, 51.0407)
Luminance0.1688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4172BE #BE8D41
analogous
#41B1BE #4172BE #4E41BE
triadic
#4172BE #BE4172 #72BE41
tetradic
#4172BE #BE41B1 #BE8D41 #41BE4E
square
#4172BE #BE41B1 #BE8D41 #41BE4E
split-complementary
#4172BE #BE4E41 #B1BE41
monochromatic
#223B63 #315790 #4172BE #6F94CE #9CB6DD

Accessibility & contrast

On white

4.80
#4172BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#4172BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4172BE
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4172BE#FFFFFF#000000##FFFFFF
##4172BE1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5078C1
Deuteranopia (green-blind)
#3D6DBC
Tritanopia (blue-blind)
#00838F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4172be;
/* rgb */ color: rgb(65, 114, 190);
/* oklch */ color: oklch(55.5% 0.130 258.9);
Tailwind
colors: {
  custom: {
    50: '#829ad2',
    500: '#4172be',
    950: '#000000',
  },
}
SCSS
$custom: #4172be;
$custom-light: #829ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#4172be",
  "rgb": {
    "r": 65,
    "g": 114,
    "b": 190
  },
  "hsl": {
    "h": 216.48,
    "s": 49.02,
    "l": 50
  },
  "oklch": {
    "l": 0.55491,
    "c": 0.13013,
    "h": 258.9
  },
  "luminance": 0.16876
}

Semantic roles & 50–950 ramp

primary
#4172BE
secondary
#C9B391
accent
#A34FD9
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4172BE

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

Preview Lab → · Contrast checker → · Palette generator →

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