#415174#415174

#415174 is a dark, moderate blue. Relative luminance 0.083; OKLCH L 43.7% C 0.062 H 265.1°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#415174
RGBrgb(65, 81, 116)
HSLhsl(221, 28%, 35%)
HSVhsv(221, 44%, 45%)
CMYKcmyk(44%, 30.2%, 0%, 54.5%)
CIE-LABlab(34.54, 3.76, -21.98)
CIE-LCHlch(34.54, 22.30, 279.71°)
OKLaboklab(43.69% -0.0053 -0.0614)
OKLCHoklch(43.69% 0.062 265.1)
XYZxyz(8.2738, 8.2692, 17.6798)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#415174 #746441
analogous
#416A74 #415174 #4A4174
triadic
#415174 #744151 #517441
tetradic
#415174 #74416A #746441 #41744A
square
#415174 #74416A #746441 #41744A
split-complementary
#415174 #744A41 #6A7441
monochromatic
#151A26 #2B364D #415174 #576C9B #7B8DB5

Accessibility & contrast

On white

7.91
#415174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #415174
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##415174#FFFFFF#000000##FFFFFF
##4151741.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455476
Deuteranopia (green-blind)
#3F4F73
Tritanopia (blue-blind)
#2F585D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #415174;
/* rgb */ color: rgb(65, 81, 116);
/* oklch */ color: oklch(43.7% 0.062 265.1);
Tailwind
colors: {
  custom: {
    50: '#78819c',
    500: '#415174',
    950: '#000000',
  },
}
SCSS
$custom: #415174;
$custom-light: #78819c;
$custom-dark: #000000;
JSON
{
  "hex": "#415174",
  "rgb": {
    "r": 65,
    "g": 81,
    "b": 116
  },
  "hsl": {
    "h": 221.176,
    "s": 28.177,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43687,
    "c": 0.0616,
    "h": 265.1
  },
  "luminance": 0.0827
}

Semantic roles & 50–950 ramp

primary
#415174
secondary
#A09171
accent
#A663C4
background
#F7F7F9
surface
#EDEEF2
border
#C8C9CC
text
#090A0E
muted
#7B7C7E

Preview Lab

Preview with #415174

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

Preview Lab → · Contrast checker → · Palette generator →

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