#412FB8#412FB8

#412FB8 is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.5% C 0.202 H 279.3°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#412FB8
RGBrgb(65, 47, 184)
HSLhsl(248, 59%, 45%)
HSVhsv(248, 74%, 72%)
CMYKcmyk(64.7%, 74.5%, 0%, 27.8%)
CIE-LABlab(30.92, 47.52, -69.17)
CIE-LCHlch(30.92, 83.92, 304.49°)
OKLaboklab(42.52% 0.0328 -0.1997)
OKLCHoklch(42.52% 0.202 279.3)
XYZxyz(11.8455, 6.6166, 45.9910)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412FB8 #A6B82F
analogous
#2F62B8 #412FB8 #852FB8
triadic
#412FB8 #B8412F #2FB841
tetradic
#412FB8 #B82F62 #A6B82F #2FB885
square
#412FB8 #B82F62 #A6B82F #2FB885
split-complementary
#412FB8 #B8852F #62B82F
monochromatic
#1F1657 #302387 #412FB8 #6252D3 #8E82DF

Accessibility & contrast

On white

9.04
#412FB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#412FB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412FB8
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412FB8#FFFFFF#000000##FFFFFF
##412FB81.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBC
Deuteranopia (green-blind)
#0043B6
Tritanopia (blue-blind)
#005671
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #412fb8;
/* rgb */ color: rgb(65, 47, 184);
/* oklch */ color: oklch(42.5% 0.202 279.3);
Tailwind
colors: {
  custom: {
    50: '#856acf',
    500: '#412fb8',
    950: '#000000',
  },
}
SCSS
$custom: #412fb8;
$custom-light: #856acf;
$custom-dark: #000000;
JSON
{
  "hex": "#412fb8",
  "rgb": {
    "r": 65,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 247.883,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.42521,
    "c": 0.20235,
    "h": 279.3
  },
  "luminance": 0.06618
}

Semantic roles & 50–950 ramp

primary
#412FB8
secondary
#BEC87B
accent
#E245CE
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #412FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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