#4172EA#4172EA

#4172EA is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.4% C 0.189 H 264.5°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#4172EA
RGBrgb(65, 114, 234)
HSLhsl(223, 80%, 59%)
HSVhsv(223, 72%, 92%)
CMYKcmyk(72.2%, 51.3%, 0%, 8.2%)
CIE-LABlab(50.80, 23.84, -65.52)
CIE-LCHlch(50.80, 69.72, 290.00°)
OKLaboklab(58.43% -0.0181 -0.1885)
OKLCHoklch(58.43% 0.189 264.5)
XYZxyz(23.0433, 19.0965, 80.2975)
Luminance0.1910 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4172EA #EAB941
analogous
#41C6EA #4172EA #6441EA
triadic
#4172EA #EA4172 #72EA41
tetradic
#4172EA #EA41C6 #EAB941 #41EA64
square
#4172EA #EA41C6 #EAB941 #41EA64
split-complementary
#4172EA #EA6441 #C6EA41
monochromatic
#123B9F #184FD6 #4172EA #789BF0 #AFC4F6

Accessibility & contrast

On white

4.36
#4172EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#4172EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4172EA
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4172EA#FFFFFF#000000##000000
##4172EA1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2381EE
Deuteranopia (green-blind)
#0072E8
Tritanopia (blue-blind)
#008FA3
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4172ea;
/* rgb */ color: rgb(65, 114, 234);
/* oklch */ color: oklch(58.4% 0.189 264.5);
Tailwind
colors: {
  custom: {
    50: '#8a99f1',
    500: '#4172ea',
    950: '#000000',
  },
}
SCSS
$custom: #4172ea;
$custom-light: #8a99f1;
$custom-dark: #000000;
JSON
{
  "hex": "#4172ea",
  "rgb": {
    "r": 65,
    "g": 114,
    "b": 234
  },
  "hsl": {
    "h": 222.604,
    "s": 80.095,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58429,
    "c": 0.18935,
    "h": 264.5
  },
  "luminance": 0.19099
}

Semantic roles & 50–950 ramp

primary
#4172EA
secondary
#E5D1A2
accent
#BD31F7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0D17
muted
#7E7E85

Preview Lab

Preview with #4172EA

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

Preview Lab → · Contrast checker → · Palette generator →

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