#413D71#413D71

#413D71 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 39.0% C 0.086 H 285.2°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#413D71
RGBrgb(65, 61, 113)
HSLhsl(245, 30%, 34%)
HSVhsv(245, 46%, 44%)
CMYKcmyk(42.5%, 46%, 0%, 55.7%)
CIE-LABlab(28.52, 15.96, -29.55)
CIE-LCHlch(28.52, 33.58, 298.38°)
OKLaboklab(39.01% 0.0226 -0.0834)
OKLCHoklch(39.01% 0.086 285.2)
XYZxyz(6.8285, 5.6533, 16.3510)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413D71 #6D713D
analogous
#3D5371 #413D71 #5B3D71
triadic
#413D71 #71413D #3D7141
tetradic
#413D71 #713D53 #6D713D #3D715B
square
#413D71 #713D53 #6D713D #3D715B
split-complementary
#413D71 #715B3D #53713D
monochromatic
#131222 #2A2849 #413D71 #585299 #7974B4

Accessibility & contrast

On white

9.86
#413D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#413D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413D71
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413D71#FFFFFF#000000##FFFFFF
##413D711.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4573
Deuteranopia (green-blind)
#294270
Tritanopia (blue-blind)
#334751
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #413d71;
/* rgb */ color: rgb(65, 61, 113);
/* oklch */ color: oklch(39.0% 0.086 285.2);
Tailwind
colors: {
  custom: {
    50: '#78729a',
    500: '#413d71',
    950: '#000000',
  },
}
SCSS
$custom: #413d71;
$custom-light: #78729a;
$custom-dark: #000000;
JSON
{
  "hex": "#413d71",
  "rgb": {
    "r": 65,
    "g": 61,
    "b": 113
  },
  "hsl": {
    "h": 244.615,
    "s": 29.885,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39006,
    "c": 0.08641,
    "h": 285.2
  },
  "luminance": 0.05654
}

Semantic roles & 50–950 ramp

primary
#413D71
secondary
#9B9E6B
accent
#C662BE
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#09080E
muted
#7B7B7E

Preview Lab

Preview with #413D71

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

Preview Lab → · Contrast checker → · Palette generator →

#413D71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva