#412FBB#412FBB

#412FBB is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 42.8% C 0.206 H 279.0°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#412FBB
RGBrgb(65, 47, 187)
HSLhsl(248, 60%, 46%)
HSVhsv(248, 75%, 73%)
CMYKcmyk(65.2%, 74.9%, 0%, 26.7%)
CIE-LABlab(31.22, 48.45, -70.45)
CIE-LCHlch(31.22, 85.50, 304.51°)
OKLaboklab(42.82% 0.0322 -0.2034)
OKLCHoklch(42.82% 0.206 279)
XYZxyz(12.1633, 6.7437, 47.6648)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412FBB #A9BB2F
analogous
#2F63BB #412FBB #872FBB
triadic
#412FBB #BB412F #2FBB41
tetradic
#412FBB #BB2F63 #A9BB2F #2FBB87
square
#412FBB #BB2F63 #A9BB2F #2FBB87
split-complementary
#412FBB #BB872F #63BB2F
monochromatic
#1F1659 #30238A #412FBB #6453D4 #9084E0

Accessibility & contrast

On white

8.94
#412FBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#412FBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412FBB
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412FBB#FFFFFF#000000##FFFFFF
##412FBB1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBF
Deuteranopia (green-blind)
#0044B8
Tritanopia (blue-blind)
#005773
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #412fbb;
/* rgb */ color: rgb(65, 47, 187);
/* oklch */ color: oklch(42.8% 0.206 279.0);
Tailwind
colors: {
  custom: {
    50: '#866ad1',
    500: '#412fbb',
    950: '#000000',
  },
}
SCSS
$custom: #412fbb;
$custom-light: #866ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#412fbb",
  "rgb": {
    "r": 65,
    "g": 47,
    "b": 187
  },
  "hsl": {
    "h": 247.714,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.42822,
    "c": 0.20595,
    "h": 279
  },
  "luminance": 0.06745
}

Semantic roles & 50–950 ramp

primary
#412FBB
secondary
#C0C97C
accent
#E345CF
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0714
muted
#7D7A83

Preview Lab

Preview with #412FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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