#415178#415178

#415178 is a dark, moderate blue. Relative luminance 0.084; OKLCH L 43.9% C 0.068 H 266.6°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#415178
RGBrgb(65, 81, 120)
HSLhsl(223, 30%, 36%)
HSVhsv(223, 46%, 47%)
CMYKcmyk(45.8%, 32.5%, 0%, 52.9%)
CIE-LABlab(34.73, 5.03, -24.16)
CIE-LCHlch(34.73, 24.68, 281.76°)
OKLaboklab(43.9% -0.004 -0.0677)
OKLCHoklch(43.9% 0.068 266.6)
XYZxyz(8.5115, 8.3643, 18.9316)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#415178 #786841
analogous
#416D78 #415178 #4D4178
triadic
#415178 #784151 #517841
tetradic
#415178 #78416D #786841 #41784D
square
#415178 #78416D #786841 #41784D
split-complementary
#415178 #784D41 #6D7841
monochromatic
#161B29 #2B3650 #415178 #576CA0 #7C8DB8

Accessibility & contrast

On white

7.86
#415178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#415178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #415178
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##415178#FFFFFF#000000##FFFFFF
##4151781.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43547A
Deuteranopia (green-blind)
#3E4F77
Tritanopia (blue-blind)
#2D595F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #415178;
/* rgb */ color: rgb(65, 81, 120);
/* oklch */ color: oklch(43.9% 0.068 266.6);
Tailwind
colors: {
  custom: {
    50: '#78819f',
    500: '#415178',
    950: '#000000',
  },
}
SCSS
$custom: #415178;
$custom-light: #78819f;
$custom-dark: #000000;
JSON
{
  "hex": "#415178",
  "rgb": {
    "r": 65,
    "g": 81,
    "b": 120
  },
  "hsl": {
    "h": 222.545,
    "s": 29.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43901,
    "c": 0.0678,
    "h": 266.6
  },
  "luminance": 0.08365
}

Semantic roles & 50–950 ramp

primary
#415178
secondary
#A39572
accent
#A962C6
background
#F7F7F9
surface
#EDEEF2
border
#C8C9CC
text
#090A0E
muted
#7B7C7E

Preview Lab

Preview with #415178

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

Preview Lab → · Contrast checker → · Palette generator →

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