#412EB8#412EB8

#412EB8 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.4% C 0.203 H 279.5°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#412EB8
RGBrgb(65, 46, 184)
HSLhsl(248, 60%, 45%)
HSVhsv(248, 75%, 72%)
CMYKcmyk(64.7%, 75%, 0%, 27.8%)
CIE-LABlab(30.73, 48.05, -69.48)
CIE-LCHlch(30.73, 84.47, 304.67°)
OKLaboklab(42.39% 0.0335 -0.2006)
OKLCHoklch(42.39% 0.203 279.5)
XYZxyz(11.8059, 6.5376, 45.9778)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412EB8 #A5B82E
analogous
#2E60B8 #412EB8 #862EB8
triadic
#412EB8 #B8412E #2EB841
tetradic
#412EB8 #B82E60 #A5B82E #2EB886
square
#412EB8 #B82E60 #A5B82E #2EB886
split-complementary
#412EB8 #B8862E #60B82E
monochromatic
#1E1656 #302287 #412EB8 #6250D3 #8E81DF

Accessibility & contrast

On white

9.10
#412EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#412EB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412EB8
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412EB8#FFFFFF#000000##FFFFFF
##412EB81.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #412eb8;
/* rgb */ color: rgb(65, 46, 184);
/* oklch */ color: oklch(42.4% 0.203 279.5);
Tailwind
colors: {
  custom: {
    50: '#856acf',
    500: '#412eb8',
    950: '#000000',
  },
}
SCSS
$custom: #412eb8;
$custom-light: #856acf;
$custom-dark: #000000;
JSON
{
  "hex": "#412eb8",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 184
  },
  "hsl": {
    "h": 248.261,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42389,
    "c": 0.20333,
    "h": 279.5
  },
  "luminance": 0.06538
}

Semantic roles & 50–950 ramp

primary
#412EB8
secondary
#BEC879
accent
#E345CD
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #412EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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