#412FB5#412FB5

#412FB5 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 42.2% C 0.199 H 279.7°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#412FB5
RGBrgb(65, 47, 181)
HSLhsl(248, 59%, 45%)
HSVhsv(248, 74%, 71%)
CMYKcmyk(64.1%, 74%, 0%, 29%)
CIE-LABlab(30.62, 46.59, -67.88)
CIE-LCHlch(30.62, 82.33, 304.47°)
OKLaboklab(42.22% 0.0335 -0.1959)
OKLCHoklch(42.22% 0.199 279.7)
XYZxyz(11.5343, 6.4921, 44.3524)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412FB5 #A3B52F
analogous
#2F60B5 #412FB5 #842FB5
triadic
#412FB5 #B5412F #2FB541
tetradic
#412FB5 #B52F60 #A3B52F #2FB584
square
#412FB5 #B52F60 #A3B52F #2FB584
split-complementary
#412FB5 #B5842F #60B52F
monochromatic
#1E1654 #302284 #412FB5 #6150D1 #8D80DE

Accessibility & contrast

On white

9.14
#412FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#412FB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412FB5
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412FB5#FFFFFF#000000##FFFFFF
##412FB51.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB9
Deuteranopia (green-blind)
#0043B3
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #412fb5;
/* rgb */ color: rgb(65, 47, 181);
/* oklch */ color: oklch(42.2% 0.199 279.7);
Tailwind
colors: {
  custom: {
    50: '#846acc',
    500: '#412fb5',
    950: '#000000',
  },
}
SCSS
$custom: #412fb5;
$custom-light: #846acc;
$custom-dark: #000000;
JSON
{
  "hex": "#412fb5",
  "rgb": {
    "r": 65,
    "g": 47,
    "b": 181
  },
  "hsl": {
    "h": 248.06,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42223,
    "c": 0.19874,
    "h": 279.7
  },
  "luminance": 0.06493
}

Semantic roles & 50–950 ramp

primary
#412FB5
secondary
#BDC779
accent
#E246CD
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #412FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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