#412AB8#412AB8

#412AB8 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.9% C 0.207 H 280.0°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#412AB8
RGBrgb(65, 42, 184)
HSLhsl(250, 63%, 44%)
HSVhsv(250, 77%, 72%)
CMYKcmyk(64.7%, 77.2%, 0%, 27.8%)
CIE-LABlab(30.01, 50.11, -70.67)
CIE-LCHlch(30.01, 86.63, 305.34°)
OKLaboklab(41.88% 0.0358 -0.204)
OKLCHoklch(41.88% 0.207 280)
XYZxyz(11.6569, 6.2395, 45.9282)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412AB8 #A1B82A
analogous
#2A5AB8 #412AB8 #882AB8
triadic
#412AB8 #B8412A #2AB841
tetradic
#412AB8 #B82A5A #A1B82A #2AB888
square
#412AB8 #B82A5A #A1B82A #2AB888
split-complementary
#412AB8 #B8882A #5AB82A
monochromatic
#1E1354 #2F1F86 #412AB8 #604AD6 #8C7BE1

Accessibility & contrast

On white

9.34
#412AB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#412AB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412AB8
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412AB8#FFFFFF#000000##FFFFFF
##412AB81.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBC
Deuteranopia (green-blind)
#0041B5
Tritanopia (blue-blind)
#005470
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #412ab8;
/* rgb */ color: rgb(65, 42, 184);
/* oklch */ color: oklch(41.9% 0.207 280.0);
Tailwind
colors: {
  custom: {
    50: '#8567cf',
    500: '#412ab8',
    950: '#000000',
  },
}
SCSS
$custom: #412ab8;
$custom-light: #8567cf;
$custom-dark: #000000;
JSON
{
  "hex": "#412ab8",
  "rgb": {
    "r": 65,
    "g": 42,
    "b": 184
  },
  "hsl": {
    "h": 249.718,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41882,
    "c": 0.20712,
    "h": 280
  },
  "luminance": 0.0624
}

Semantic roles & 50–950 ramp

primary
#412AB8
secondary
#BBC975
accent
#E642CB
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0614
muted
#7D7A82

Preview Lab

Preview with #412AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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