#412DBB#412DBB

#412DBB is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.6% C 0.208 H 279.2°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#412DBB
RGBrgb(65, 45, 187)
HSLhsl(248, 61%, 45%)
HSVhsv(248, 76%, 73%)
CMYKcmyk(65.2%, 75.9%, 0%, 26.7%)
CIE-LABlab(30.85, 49.49, -71.06)
CIE-LCHlch(30.85, 86.59, 304.86°)
OKLaboklab(42.56% 0.0334 -0.2052)
OKLCHoklch(42.56% 0.208 279.2)
XYZxyz(12.0851, 6.5875, 47.6387)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412DBB #A7BB2D
analogous
#2D60BB #412DBB #882DBB
triadic
#412DBB #BB412D #2DBB41
tetradic
#412DBB #BB2D60 #A7BB2D #2DBB88
square
#412DBB #BB2D60 #A7BB2D #2DBB88
split-complementary
#412DBB #BB882D #60BB2D
monochromatic
#1F1558 #30218A #412DBB #6350D5 #8F82E1

Accessibility & contrast

On white

9.06
#412DBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#412DBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412DBB
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412DBB#FFFFFF#000000##FFFFFF
##412DBB1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBF
Deuteranopia (green-blind)
#0043B8
Tritanopia (blue-blind)
#005672
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #412dbb;
/* rgb */ color: rgb(65, 45, 187);
/* oklch */ color: oklch(42.6% 0.208 279.2);
Tailwind
colors: {
  custom: {
    50: '#8669d1',
    500: '#412dbb',
    950: '#000000',
  },
}
SCSS
$custom: #412dbb;
$custom-light: #8669d1;
$custom-dark: #000000;
JSON
{
  "hex": "#412dbb",
  "rgb": {
    "r": 65,
    "g": 45,
    "b": 187
  },
  "hsl": {
    "h": 248.451,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.42563,
    "c": 0.20786,
    "h": 279.2
  },
  "luminance": 0.06588
}

Semantic roles & 50–950 ramp

primary
#412DBB
secondary
#BFCA7A
accent
#E443CE
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0614
muted
#7D7A83

Preview Lab

Preview with #412DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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