#412FB1#412FB1

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

Color values

HEX#412FB1
RGBrgb(65, 47, 177)
HSLhsl(248, 58%, 44%)
HSVhsv(248, 73%, 69%)
CMYKcmyk(63.3%, 73.4%, 0%, 30.6%)
CIE-LABlab(30.23, 45.35, -66.14)
CIE-LCHlch(30.23, 80.19, 304.44°)
OKLaboklab(41.83% 0.0344 -0.1908)
OKLCHoklch(41.83% 0.194 280.2)
XYZxyz(11.1298, 6.3303, 42.2218)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412FB1 #9FB12F
analogous
#2F5EB1 #412FB1 #822FB1
triadic
#412FB1 #B1412F #2FB141
tetradic
#412FB1 #B12F5E #9FB12F #2FB182
square
#412FB1 #B12F5E #9FB12F #2FB182
split-complementary
#412FB1 #B1822F #5EB12F
monochromatic
#1D1550 #2F2281 #412FB1 #5F4DD0 #8B7EDD

Accessibility & contrast

On white

9.27
#412FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#412FB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412FB1
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412FB1#FFFFFF#000000##FFFFFF
##412FB11.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB5
Deuteranopia (green-blind)
#0042AF
Tritanopia (blue-blind)
#00536D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #412fb1;
/* rgb */ color: rgb(65, 47, 177);
/* oklch */ color: oklch(41.8% 0.194 280.2);
Tailwind
colors: {
  custom: {
    50: '#846ac9',
    500: '#412fb1',
    950: '#000000',
  },
}
SCSS
$custom: #412fb1;
$custom-light: #846ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#412fb1",
  "rgb": {
    "r": 65,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 248.308,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41829,
    "c": 0.19388,
    "h": 280.2
  },
  "luminance": 0.06331
}

Semantic roles & 50–950 ramp

primary
#412FB1
secondary
#BAC576
accent
#E147CC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #412FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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