#4173D8#4173D8

#4173D8 is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.4% C 0.164 H 262.6°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#4173D8
RGBrgb(65, 115, 216)
HSLhsl(220, 66%, 55%)
HSVhsv(220, 70%, 85%)
CMYKcmyk(69.9%, 46.8%, 0%, 15.3%)
CIE-LABlab(49.91, 16.75, -56.82)
CIE-LCHlch(49.91, 59.23, 286.42°)
OKLaboklab(57.38% -0.0212 -0.1628)
OKLCHoklch(57.38% 0.164 262.6)
XYZxyz(20.7010, 18.3410, 67.4016)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4173D8 #D8A641
analogous
#41BFD8 #4173D8 #5A41D8
triadic
#4173D8 #D84173 #73D841
tetradic
#4173D8 #D841BF #D8A641 #41D85A
square
#4173D8 #D841BF #D8A641 #41D85A
split-complementary
#4173D8 #D85A41 #BFD841
monochromatic
#1B3E84 #2555B6 #4173D8 #7498E2 #A7BEED

Accessibility & contrast

On white

4.50
#4173D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#4173D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4173D8
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4173D8#FFFFFF#000000##000000
##4173D81.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7EDC
Deuteranopia (green-blind)
#1A70D6
Tritanopia (blue-blind)
#008B9B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4173d8;
/* rgb */ color: rgb(65, 115, 216);
/* oklch */ color: oklch(57.4% 0.164 262.6);
Tailwind
colors: {
  custom: {
    50: '#879ae5',
    500: '#4173d8',
    950: '#000000',
  },
}
SCSS
$custom: #4173d8;
$custom-light: #879ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#4173d8",
  "rgb": {
    "r": 65,
    "g": 115,
    "b": 216
  },
  "hsl": {
    "h": 220.132,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.57377,
    "c": 0.16422,
    "h": 262.6
  },
  "luminance": 0.18343
}

Semantic roles & 50–950 ramp

primary
#4173D8
secondary
#DAC59B
accent
#B13FE9
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0D0E16
muted
#7D7E84

Preview Lab

Preview with #4173D8

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

Preview Lab → · Contrast checker → · Palette generator →

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