#415173#415173

#415173 is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.6% C 0.060 H 264.7°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#415173
RGBrgb(65, 81, 115)
HSLhsl(221, 28%, 35%)
HSVhsv(221, 43%, 45%)
CMYKcmyk(43.5%, 29.6%, 0%, 54.9%)
CIE-LABlab(34.49, 3.45, -21.43)
CIE-LCHlch(34.49, 21.70, 279.14°)
OKLaboklab(43.64% -0.0056 -0.0598)
OKLCHoklch(43.64% 0.06 264.7)
XYZxyz(8.2159, 8.2460, 17.3751)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#415173 #736341
analogous
#416A73 #415173 #4A4173
triadic
#415173 #734151 #517341
tetradic
#415173 #73416A #736341 #41734A
square
#415173 #73416A #736341 #41734A
split-complementary
#415173 #734A41 #6A7341
monochromatic
#151A25 #2B354C #415173 #576D9A #7A8DB4

Accessibility & contrast

On white

7.93
#415173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#415173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #415173
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##415173#FFFFFF#000000##FFFFFF
##4151731.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455474
Deuteranopia (green-blind)
#404F72
Tritanopia (blue-blind)
#30585D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #415173;
/* rgb */ color: rgb(65, 81, 115);
/* oklch */ color: oklch(43.6% 0.060 264.7);
Tailwind
colors: {
  custom: {
    50: '#78819b',
    500: '#415173',
    950: '#000000',
  },
}
SCSS
$custom: #415173;
$custom-light: #78819b;
$custom-dark: #000000;
JSON
{
  "hex": "#415173",
  "rgb": {
    "r": 65,
    "g": 81,
    "b": 115
  },
  "hsl": {
    "h": 220.8,
    "s": 27.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43635,
    "c": 0.06005,
    "h": 264.7
  },
  "luminance": 0.08246
}

Semantic roles & 50–950 ramp

primary
#415173
secondary
#9F9071
accent
#A564C4
background
#F7F7F9
surface
#EDEEF2
border
#C8C9CC
text
#090A0E
muted
#7B7C7E

Preview Lab

Preview with #415173

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

Preview Lab → · Contrast checker → · Palette generator →

#415173 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva