#413DAB#413DAB

#413DAB is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.4% C 0.170 H 278.2°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#413DAB
RGBrgb(65, 61, 171)
HSLhsl(242, 47%, 45%)
HSVhsv(242, 64%, 67%)
CMYKcmyk(62%, 64.3%, 0%, 32.9%)
CIE-LABlab(32.70, 35.18, -58.50)
CIE-LCHlch(32.70, 68.27, 301.02°)
OKLaboklab(43.44% 0.0243 -0.1685)
OKLCHoklch(43.44% 0.17 278.2)
XYZxyz(11.1970, 7.4007, 39.3586)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413DAB #A7AB3D
analogous
#3D70AB #413DAB #783DAB
triadic
#413DAB #AB413D #3DAB41
tetradic
#413DAB #AB3D70 #A7AB3D #3DAB78
square
#413DAB #AB3D70 #A7AB3D #3DAB78
split-complementary
#413DAB #AB783D #70AB3D
monochromatic
#1F1D51 #302D7E #413DAB #635FC6 #8F8CD6

Accessibility & contrast

On white

8.47
#413DAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#413DAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413DAB
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413DAB#FFFFFF#000000##FFFFFF
##413DAB1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AE
Deuteranopia (green-blind)
#0048A9
Tritanopia (blue-blind)
#00596E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #413dab;
/* rgb */ color: rgb(65, 61, 171);
/* oklch */ color: oklch(43.4% 0.170 278.2);
Tailwind
colors: {
  custom: {
    50: '#8173c5',
    500: '#413dab',
    950: '#000000',
  },
}
SCSS
$custom: #413dab;
$custom-light: #8173c5;
$custom-dark: #000000;
JSON
{
  "hex": "#413dab",
  "rgb": {
    "r": 65,
    "g": 61,
    "b": 171
  },
  "hsl": {
    "h": 242.182,
    "s": 47.414,
    "l": 45.49
  },
  "oklch": {
    "l": 0.43441,
    "c": 0.17021,
    "h": 278.2
  },
  "luminance": 0.07402
}

Semantic roles & 50–950 ramp

primary
#413DAB
secondary
#BFC183
accent
#D751D2
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #413DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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