#412EA8#412EA8

#412EA8 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.8% C 0.184 H 281.6°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#412EA8
RGBrgb(65, 46, 168)
HSLhsl(249, 57%, 42%)
HSVhsv(249, 73%, 66%)
CMYKcmyk(61.3%, 72.6%, 0%, 34.1%)
CIE-LABlab(29.17, 43.09, -62.49)
CIE-LCHlch(29.17, 75.90, 304.59°)
OKLaboklab(40.81% 0.037 -0.1801)
OKLCHoklch(40.81% 0.184 281.6)
XYZxyz(10.2226, 5.9042, 37.6391)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412EA8 #95A82E
analogous
#2E58A8 #412EA8 #7E2EA8
triadic
#412EA8 #A8412E #2EA841
tetradic
#412EA8 #A82E58 #95A82E #2EA87E
square
#412EA8 #A82E58 #95A82E #2EA87E
split-complementary
#412EA8 #A87E2E #58A82E
monochromatic
#1C1448 #2E2178 #412EA8 #5C47CD #8677DA

Accessibility & contrast

On white

9.63
#412EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#412EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412EA8
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412EA8#FFFFFF#000000##FFFFFF
##412EA81.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AC
Deuteranopia (green-blind)
#0040A6
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #412ea8;
/* rgb */ color: rgb(65, 46, 168);
/* oklch */ color: oklch(40.8% 0.184 281.6);
Tailwind
colors: {
  custom: {
    50: '#8269c3',
    500: '#412ea8',
    950: '#000000',
  },
}
SCSS
$custom: #412ea8;
$custom-light: #8269c3;
$custom-dark: #000000;
JSON
{
  "hex": "#412ea8",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 168
  },
  "hsl": {
    "h": 249.344,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40813,
    "c": 0.1839,
    "h": 281.6
  },
  "luminance": 0.05905
}

Semantic roles & 50–950 ramp

primary
#412EA8
secondary
#B5C270
accent
#E048C8
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #412EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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