#412FBA#412FBA

#412FBA is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 42.7% C 0.205 H 279.1°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#412FBA
RGBrgb(65, 47, 186)
HSLhsl(248, 60%, 46%)
HSVhsv(248, 75%, 73%)
CMYKcmyk(65.1%, 74.7%, 0%, 27.1%)
CIE-LABlab(31.12, 48.14, -70.03)
CIE-LCHlch(31.12, 84.98, 304.51°)
OKLaboklab(42.72% 0.0324 -0.2022)
OKLCHoklch(42.72% 0.205 279.1)
XYZxyz(12.0566, 6.7010, 47.1029)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412FBA #A8BA2F
analogous
#2F62BA #412FBA #862FBA
triadic
#412FBA #BA412F #2FBA41
tetradic
#412FBA #BA2F62 #A8BA2F #2FBA86
square
#412FBA #BA2F62 #A8BA2F #2FBA86
split-complementary
#412FBA #BA862F #62BA2F
monochromatic
#1F1658 #302389 #412FBA #6353D3 #9084E0

Accessibility & contrast

On white

8.97
#412FBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#412FBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412FBA
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412FBA#FFFFFF#000000##FFFFFF
##412FBA1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBE
Deuteranopia (green-blind)
#0044B7
Tritanopia (blue-blind)
#005772
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #412fba;
/* rgb */ color: rgb(65, 47, 186);
/* oklch */ color: oklch(42.7% 0.205 279.1);
Tailwind
colors: {
  custom: {
    50: '#856ad0',
    500: '#412fba',
    950: '#000000',
  },
}
SCSS
$custom: #412fba;
$custom-light: #856ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#412fba",
  "rgb": {
    "r": 65,
    "g": 47,
    "b": 186
  },
  "hsl": {
    "h": 247.77,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.42721,
    "c": 0.20475,
    "h": 279.1
  },
  "luminance": 0.06702
}

Semantic roles & 50–950 ramp

primary
#412FBA
secondary
#BFC97C
accent
#E345CE
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #412FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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