#4173DB#4173DB

#4173DB is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.6% C 0.168 H 262.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4173DB
RGBrgb(65, 115, 219)
HSLhsl(221, 68%, 56%)
HSVhsv(221, 70%, 86%)
CMYKcmyk(70.3%, 47.5%, 0%, 14.1%)
CIE-LABlab(50.09, 17.83, -58.22)
CIE-LCHlch(50.09, 60.88, 287.02°)
OKLaboklab(57.58% -0.0208 -0.167)
OKLCHoklch(57.58% 0.168 262.9)
XYZxyz(21.0924, 18.4976, 69.4629)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4173DB #DBA941
analogous
#41C0DB #4173DB #5C41DB
triadic
#4173DB #DB4173 #73DB41
tetradic
#4173DB #DB41C0 #DBA941 #41DB5C
square
#4173DB #DB41C0 #DBA941 #41DB5C
split-complementary
#4173DB #DB5C41 #C0DB41
monochromatic
#1A3D88 #2355BB #4173DB #7499E5 #A8BFEE

Accessibility & contrast

On white

4.47
#4173DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#4173DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4173DB
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4173DB#FFFFFF#000000##000000
##4173DB1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7FDF
Deuteranopia (green-blind)
#1171D9
Tritanopia (blue-blind)
#008B9C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4173db;
/* rgb */ color: rgb(65, 115, 219);
/* oklch */ color: oklch(57.6% 0.168 262.9);
Tailwind
colors: {
  custom: {
    50: '#879ae7',
    500: '#4173db',
    950: '#000000',
  },
}
SCSS
$custom: #4173db;
$custom-light: #879ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#4173db",
  "rgb": {
    "r": 65,
    "g": 115,
    "b": 219
  },
  "hsl": {
    "h": 220.519,
    "s": 68.142,
    "l": 55.686
  },
  "oklch": {
    "l": 0.5758,
    "c": 0.16825,
    "h": 262.9
  },
  "luminance": 0.185
}

Semantic roles & 50–950 ramp

primary
#4173DB
secondary
#DCC79C
accent
#B23DEB
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4173DB

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

Preview Lab → · Contrast checker → · Palette generator →

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