#412F9C#412F9C

#412F9C is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.8% C 0.168 H 283.3°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#412F9C
RGBrgb(65, 47, 156)
HSLhsl(250, 54%, 40%)
HSVhsv(250, 70%, 61%)
CMYKcmyk(58.3%, 69.9%, 0%, 38.8%)
CIE-LABlab(28.27, 38.74, -56.70)
CIE-LCHlch(28.27, 68.67, 304.34°)
OKLaboklab(39.83% 0.0385 -0.1632)
OKLCHoklch(39.83% 0.168 283.3)
XYZxyz(9.1954, 5.5566, 32.0340)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412F9C #8A9C2F
analogous
#2F549C #412F9C #772F9C
triadic
#412F9C #9C412F #2F9C41
tetradic
#412F9C #9C2F54 #8A9C2F #2F9C77
square
#412F9C #9C2F54 #8A9C2F #2F9C77
split-complementary
#412F9C #9C772F #549C2F
monochromatic
#1A133E #2D216D #412F9C #5842C6 #8271D4

Accessibility & contrast

On white

9.95
#412F9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#412F9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412F9C
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412F9C#FFFFFF#000000##FFFFFF
##412F9C1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#003F9A
Tritanopia (blue-blind)
#0F4C62
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #412f9c;
/* rgb */ color: rgb(65, 47, 156);
/* oklch */ color: oklch(39.8% 0.168 283.3);
Tailwind
colors: {
  custom: {
    50: '#8069ba',
    500: '#412f9c',
    950: '#000000',
  },
}
SCSS
$custom: #412f9c;
$custom-light: #8069ba;
$custom-dark: #000000;
JSON
{
  "hex": "#412f9c",
  "rgb": {
    "r": 65,
    "g": 47,
    "b": 156
  },
  "hsl": {
    "h": 249.908,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39828,
    "c": 0.16767,
    "h": 283.3
  },
  "luminance": 0.05557
}

Semantic roles & 50–950 ramp

primary
#412F9C
secondary
#AEBC6B
accent
#DD4BC5
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #412F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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