#412DB8#412DB8

#412DB8 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.3% C 0.204 H 279.6°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#412DB8
RGBrgb(65, 45, 184)
HSLhsl(249, 61%, 45%)
HSVhsv(249, 76%, 72%)
CMYKcmyk(64.7%, 75.5%, 0%, 27.8%)
CIE-LABlab(30.55, 48.57, -69.78)
CIE-LCHlch(30.55, 85.02, 304.84°)
OKLaboklab(42.26% 0.0341 -0.2014)
OKLCHoklch(42.26% 0.204 279.6)
XYZxyz(11.7673, 6.4603, 45.9650)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412DB8 #A4B82D
analogous
#2D5FB8 #412DB8 #872DB8
triadic
#412DB8 #B8412D #2DB841
tetradic
#412DB8 #B82D5F #A4B82D #2DB887
square
#412DB8 #B82D5F #A4B82D #2DB887
split-complementary
#412DB8 #B8872D #5FB82D
monochromatic
#1E1556 #302187 #412DB8 #624ED4 #8D80E0

Accessibility & contrast

On white

9.16
#412DB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#412DB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412DB8
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412DB8#FFFFFF#000000##FFFFFF
##412DB81.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBC
Deuteranopia (green-blind)
#0042B5
Tritanopia (blue-blind)
#005571
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #412db8;
/* rgb */ color: rgb(65, 45, 184);
/* oklch */ color: oklch(42.3% 0.204 279.6);
Tailwind
colors: {
  custom: {
    50: '#8569cf',
    500: '#412db8',
    950: '#000000',
  },
}
SCSS
$custom: #412db8;
$custom-light: #8569cf;
$custom-dark: #000000;
JSON
{
  "hex": "#412db8",
  "rgb": {
    "r": 65,
    "g": 45,
    "b": 184
  },
  "hsl": {
    "h": 248.633,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42259,
    "c": 0.2043,
    "h": 279.6
  },
  "luminance": 0.06461
}

Semantic roles & 50–950 ramp

primary
#412DB8
secondary
#BDC978
accent
#E444CD
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #412DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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