#415271#415271

#415271 is a dark, muted blue. Relative luminance 0.084; OKLCH L 43.8% C 0.056 H 262.1°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#415271
RGBrgb(65, 82, 113)
HSLhsl(219, 27%, 35%)
HSVhsv(219, 42%, 44%)
CMYKcmyk(42.5%, 27.4%, 0%, 55.7%)
CIE-LABlab(34.70, 2.18, -19.85)
CIE-LCHlch(34.70, 19.97, 276.28°)
OKLaboklab(43.77% -0.0077 -0.0553)
OKLCHoklch(43.77% 0.056 262.1)
XYZxyz(8.1770, 8.3502, 16.8005)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#415271 #716041
analogous
#416A71 #415271 #484171
triadic
#415271 #714152 #527141
tetradic
#415271 #71416A #716041 #417148
square
#415271 #71416A #716041 #417148
split-complementary
#415271 #714841 #6A7141
monochromatic
#141A23 #2B364A #415271 #576E98 #7A8EB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##415271#FFFFFF#000000##FFFFFF
##4152711.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)
#475472
Deuteranopia (green-blind)
#425070
Tritanopia (blue-blind)
#31595D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #415271;
/* rgb */ color: rgb(65, 82, 113);
/* oklch */ color: oklch(43.8% 0.056 262.1);
Tailwind
colors: {
  custom: {
    50: '#78829a',
    500: '#415271',
    950: '#000000',
  },
}
SCSS
$custom: #415271;
$custom-light: #78829a;
$custom-dark: #000000;
JSON
{
  "hex": "#415271",
  "rgb": {
    "r": 65,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 218.75,
    "s": 26.966,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43769,
    "c": 0.0558,
    "h": 262.1
  },
  "luminance": 0.08351
}

Semantic roles & 50–950 ramp

primary
#415271
secondary
#9E8E70
accent
#A264C3
background
#F7F7F9
surface
#EDEEF2
border
#C8C9CC
text
#090A0E
muted
#7B7C7E

Preview Lab

Preview with #415271

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

Preview Lab → · Contrast checker → · Palette generator →

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