#4173E9#4173E9

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

Color values

HEX#4173E9
RGBrgb(65, 115, 233)
HSLhsl(222, 79%, 58%)
HSVhsv(222, 72%, 91%)
CMYKcmyk(72.1%, 50.6%, 0%, 8.6%)
CIE-LABlab(51.00, 22.86, -64.64)
CIE-LCHlch(51.00, 68.57, 289.47°)
OKLaboklab(58.56% -0.019 -0.1859)
OKLCHoklch(58.56% 0.187 264.2)
XYZxyz(23.0135, 19.2660, 79.5808)
Luminance0.1927 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4173E9 #E9B741
analogous
#41C7E9 #4173E9 #6341E9
triadic
#4173E9 #E94173 #73E941
tetradic
#4173E9 #E941C7 #E9B741 #41E963
square
#4173E9 #E941C7 #E9B741 #41E963
split-complementary
#4173E9 #E96341 #C7E941
monochromatic
#123C9D #1950D4 #4173E9 #789BEF #AFC4F6

Accessibility & contrast

On white

4.33
#4173E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#4173E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4173E9
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4173E9#FFFFFF#000000##000000
##4173E91.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2882ED
Deuteranopia (green-blind)
#0072E7
Tritanopia (blue-blind)
#008FA3
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4173e9;
/* rgb */ color: rgb(65, 115, 233);
/* oklch */ color: oklch(58.6% 0.187 264.2);
Tailwind
colors: {
  custom: {
    50: '#8a9af1',
    500: '#4173e9',
    950: '#000000',
  },
}
SCSS
$custom: #4173e9;
$custom-light: #8a9af1;
$custom-dark: #000000;
JSON
{
  "hex": "#4173e9",
  "rgb": {
    "r": 65,
    "g": 115,
    "b": 233
  },
  "hsl": {
    "h": 222.143,
    "s": 79.245,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58558,
    "c": 0.18685,
    "h": 264.2
  },
  "luminance": 0.19268
}

Semantic roles & 50–950 ramp

primary
#4173E9
secondary
#E4D0A2
accent
#BB32F6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E17
muted
#7E7E85

Preview Lab

Preview with #4173E9

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

Preview Lab → · Contrast checker → · Palette generator →

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