#412DB3#412DB3

#412DB3 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.8% C 0.198 H 280.2°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#412DB3
RGBrgb(65, 45, 179)
HSLhsl(249, 60%, 44%)
HSVhsv(249, 75%, 70%)
CMYKcmyk(63.7%, 74.9%, 0%, 29.8%)
CIE-LABlab(30.05, 47.04, -67.63)
CIE-LCHlch(30.05, 82.38, 304.82°)
OKLaboklab(41.76% 0.0353 -0.1952)
OKLCHoklch(41.76% 0.198 280.2)
XYZxyz(11.2525, 6.2544, 43.2533)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412DB3 #9FB32D
analogous
#2D5CB3 #412DB3 #842DB3
triadic
#412DB3 #B3412D #2DB341
tetradic
#412DB3 #B32D5C #9FB32D #2DB384
square
#412DB3 #B32D5C #9FB32D #2DB384
split-complementary
#412DB3 #B3842D #5CB32D
monochromatic
#1D1451 #2F2182 #412DB3 #5F4BD2 #8B7CDE

Accessibility & contrast

On white

9.33
#412DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412DB3
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412DB3#FFFFFF#000000##FFFFFF
##412DB31.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#0042B1
Tritanopia (blue-blind)
#00536E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #412db3;
/* rgb */ color: rgb(65, 45, 179);
/* oklch */ color: oklch(41.8% 0.198 280.2);
Tailwind
colors: {
  custom: {
    50: '#8469cb',
    500: '#412db3',
    950: '#000000',
  },
}
SCSS
$custom: #412db3;
$custom-light: #8469cb;
$custom-dark: #000000;
JSON
{
  "hex": "#412db3",
  "rgb": {
    "r": 65,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 248.955,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41757,
    "c": 0.19834,
    "h": 280.2
  },
  "luminance": 0.06255
}

Semantic roles & 50–950 ramp

primary
#412DB3
secondary
#BAC775
accent
#E345CB
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #412DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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