#412F9F#412F9F

#412F9F is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.1% C 0.171 H 282.8°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#412F9F
RGBrgb(65, 47, 159)
HSLhsl(250, 54%, 40%)
HSVhsv(250, 70%, 62%)
CMYKcmyk(59.1%, 70.4%, 0%, 37.6%)
CIE-LABlab(28.54, 39.69, -58.08)
CIE-LCHlch(28.54, 70.35, 304.35°)
OKLaboklab(40.11% 0.0379 -0.1672)
OKLCHoklch(40.11% 0.171 282.8)
XYZxyz(9.4526, 5.6594, 33.3884)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412F9F #8D9F2F
analogous
#2F559F #412F9F #792F9F
triadic
#412F9F #9F412F #2F9F41
tetradic
#412F9F #9F2F55 #8D9F2F #2F9F79
square
#412F9F #9F2F55 #8D9F2F #2F9F79
split-complementary
#412F9F #9F792F #559F2F
monochromatic
#1A1341 #2E2170 #412F9F #5944C8 #8373D6

Accessibility & contrast

On white

9.85
#412F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#412F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412F9F
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412F9F#FFFFFF#000000##FFFFFF
##412F9F1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#074D63
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #412f9f;
/* rgb */ color: rgb(65, 47, 159);
/* oklch */ color: oklch(40.1% 0.171 282.8);
Tailwind
colors: {
  custom: {
    50: '#8069bc',
    500: '#412f9f',
    950: '#000000',
  },
}
SCSS
$custom: #412f9f;
$custom-light: #8069bc;
$custom-dark: #000000;
JSON
{
  "hex": "#412f9f",
  "rgb": {
    "r": 65,
    "g": 47,
    "b": 159
  },
  "hsl": {
    "h": 249.643,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40106,
    "c": 0.17149,
    "h": 282.8
  },
  "luminance": 0.0566
}

Semantic roles & 50–950 ramp

primary
#412F9F
secondary
#B0BD6D
accent
#DE4AC6
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #412F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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