#412FA8#412FA8

#412FA8 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 41.0% C 0.183 H 281.4°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#412FA8
RGBrgb(65, 47, 168)
HSLhsl(249, 56%, 42%)
HSVhsv(249, 72%, 66%)
CMYKcmyk(61.3%, 72%, 0%, 34.1%)
CIE-LABlab(29.37, 42.53, -62.16)
CIE-LCHlch(29.37, 75.31, 304.38°)
OKLaboklab(40.96% 0.0362 -0.1792)
OKLCHoklch(40.96% 0.183 281.4)
XYZxyz(10.2622, 5.9833, 37.6523)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412FA8 #96A82F
analogous
#2F59A8 #412FA8 #7E2FA8
triadic
#412FA8 #A8412F #2FA841
tetradic
#412FA8 #A82F59 #96A82F #2FA87E
square
#412FA8 #A82F59 #96A82F #2FA87E
split-complementary
#412FA8 #A87E2F #59A82F
monochromatic
#1C1448 #2E2278 #412FA8 #5C48CC #8778D9

Accessibility & contrast

On white

9.56
#412FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#412FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412FA8
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412FA8#FFFFFF#000000##FFFFFF
##412FA81.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AC
Deuteranopia (green-blind)
#0041A6
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #412fa8;
/* rgb */ color: rgb(65, 47, 168);
/* oklch */ color: oklch(41.0% 0.183 281.4);
Tailwind
colors: {
  custom: {
    50: '#826ac3',
    500: '#412fa8',
    950: '#000000',
  },
}
SCSS
$custom: #412fa8;
$custom-light: #826ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#412fa8",
  "rgb": {
    "r": 65,
    "g": 47,
    "b": 168
  },
  "hsl": {
    "h": 248.926,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40956,
    "c": 0.18281,
    "h": 281.4
  },
  "luminance": 0.05984
}

Semantic roles & 50–950 ramp

primary
#412FA8
secondary
#B6C171
accent
#E048C9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #412FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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