#412DAB#412DAB

#412DAB is a dark, vivid blue. Relative luminance 0.059; OKLCH L 41.0% C 0.189 H 281.3°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#412DAB
RGBrgb(65, 45, 171)
HSLhsl(250, 58%, 42%)
HSVhsv(250, 74%, 67%)
CMYKcmyk(62%, 73.7%, 0%, 32.9%)
CIE-LABlab(29.26, 44.57, -64.14)
CIE-LCHlch(29.26, 78.10, 304.79°)
OKLaboklab(40.97% 0.0371 -0.185)
OKLCHoklch(40.97% 0.189 281.3)
XYZxyz(10.4667, 5.9401, 39.1152)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412DAB #97AB2D
analogous
#2D58AB #412DAB #802DAB
triadic
#412DAB #AB412D #2DAB41
tetradic
#412DAB #AB2D58 #97AB2D #2DAB80
square
#412DAB #AB2D58 #97AB2D #2DAB80
split-complementary
#412DAB #AB802D #58AB2D
monochromatic
#1C144A #2F207B #412DAB #5C47CE #8777DB

Accessibility & contrast

On white

9.60
#412DAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#412DAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412DAB
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412DAB#FFFFFF#000000##FFFFFF
##412DAB1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AF
Deuteranopia (green-blind)
#0040A9
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #412dab;
/* rgb */ color: rgb(65, 45, 171);
/* oklch */ color: oklch(41.0% 0.189 281.3);
Tailwind
colors: {
  custom: {
    50: '#8368c5',
    500: '#412dab',
    950: '#000000',
  },
}
SCSS
$custom: #412dab;
$custom-light: #8368c5;
$custom-dark: #000000;
JSON
{
  "hex": "#412dab",
  "rgb": {
    "r": 65,
    "g": 45,
    "b": 171
  },
  "hsl": {
    "h": 249.524,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40966,
    "c": 0.18865,
    "h": 281.3
  },
  "luminance": 0.05941
}

Semantic roles & 50–950 ramp

primary
#412DAB
secondary
#B6C371
accent
#E246C9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #412DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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