#4173EA#4173EA

#4173EA is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.6% C 0.188 H 264.2°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#4173EA
RGBrgb(65, 115, 234)
HSLhsl(222, 80%, 59%)
HSVhsv(222, 72%, 92%)
CMYKcmyk(72.2%, 50.9%, 0%, 8.2%)
CIE-LABlab(51.06, 23.22, -65.10)
CIE-LCHlch(51.06, 69.11, 289.63°)
OKLaboklab(58.63% -0.0189 -0.1872)
OKLCHoklch(58.63% 0.188 264.2)
XYZxyz(23.1567, 19.3233, 80.3353)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4173EA #EAB841
analogous
#41C7EA #4173EA #6341EA
triadic
#4173EA #EA4173 #73EA41
tetradic
#4173EA #EA41C7 #EAB841 #41EA63
square
#4173EA #EA41C7 #EAB841 #41EA63
split-complementary
#4173EA #EA6341 #C7EA41
monochromatic
#123B9F #1850D6 #4173EA #789CF0 #AFC4F6

Accessibility & contrast

On white

4.32
#4173EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#4173EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4173EA
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4173EA#FFFFFF#000000##000000
##4173EA1.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2782EE
Deuteranopia (green-blind)
#0072E8
Tritanopia (blue-blind)
#0090A4
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4173ea;
/* rgb */ color: rgb(65, 115, 234);
/* oklch */ color: oklch(58.6% 0.188 264.2);
Tailwind
colors: {
  custom: {
    50: '#8a9af1',
    500: '#4173ea',
    950: '#000000',
  },
}
SCSS
$custom: #4173ea;
$custom-light: #8a9af1;
$custom-dark: #000000;
JSON
{
  "hex": "#4173ea",
  "rgb": {
    "r": 65,
    "g": 115,
    "b": 234
  },
  "hsl": {
    "h": 222.249,
    "s": 80.095,
    "l": 58.627
  },
  "oklch": {
    "l": 0.5863,
    "c": 0.18816,
    "h": 264.2
  },
  "luminance": 0.19326
}

Semantic roles & 50–950 ramp

primary
#4173EA
secondary
#E5D1A2
accent
#BC31F7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E17
muted
#7E7E85

Preview Lab

Preview with #4173EA

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

Preview Lab → · Contrast checker → · Palette generator →

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