#413DB1#413DB1

#413DB1 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 44.0% C 0.178 H 277.7°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#413DB1
RGBrgb(65, 61, 177)
HSLhsl(242, 49%, 47%)
HSVhsv(242, 66%, 69%)
CMYKcmyk(63.3%, 65.5%, 0%, 30.6%)
CIE-LABlab(33.21, 37.19, -61.25)
CIE-LCHlch(33.21, 71.66, 301.27°)
OKLaboklab(43.97% 0.0238 -0.1765)
OKLCHoklch(43.97% 0.178 277.7)
XYZxyz(11.7820, 7.6347, 42.4392)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413DB1 #ADB13D
analogous
#3D73B1 #413DB1 #7B3DB1
triadic
#413DB1 #B1413D #3DB141
tetradic
#413DB1 #B13D73 #ADB13D #3DB17B
square
#413DB1 #B13D73 #ADB13D #3DB17B
split-complementary
#413DB1 #B17B3D #73B13D
monochromatic
#201E56 #302D83 #413DB1 #6662C9 #9290D9

Accessibility & contrast

On white

8.31
#413DB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#413DB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413DB1
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413DB1#FFFFFF#000000##FFFFFF
##413DB11.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B5
Deuteranopia (green-blind)
#0049AF
Tritanopia (blue-blind)
#005B71
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #413db1;
/* rgb */ color: rgb(65, 61, 177);
/* oklch */ color: oklch(44.0% 0.178 277.7);
Tailwind
colors: {
  custom: {
    50: '#8373c9',
    500: '#413db1',
    950: '#000000',
  },
}
SCSS
$custom: #413db1;
$custom-light: #8373c9;
$custom-dark: #000000;
JSON
{
  "hex": "#413db1",
  "rgb": {
    "r": 65,
    "g": 61,
    "b": 177
  },
  "hsl": {
    "h": 242.069,
    "s": 48.739,
    "l": 46.667
  },
  "oklch": {
    "l": 0.43969,
    "c": 0.17812,
    "h": 277.7
  },
  "luminance": 0.07636
}

Semantic roles & 50–950 ramp

primary
#413DB1
secondary
#C2C486
accent
#D850D4
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #413DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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