#412EB3#412EB3

#412EB3 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.9% C 0.197 H 280.1°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#412EB3
RGBrgb(65, 46, 179)
HSLhsl(249, 59%, 44%)
HSVhsv(249, 74%, 70%)
CMYKcmyk(63.7%, 74.3%, 0%, 29.8%)
CIE-LABlab(30.23, 46.51, -67.32)
CIE-LCHlch(30.23, 81.83, 304.64°)
OKLaboklab(41.89% 0.0346 -0.1943)
OKLCHoklch(41.89% 0.197 280.1)
XYZxyz(11.2911, 6.3316, 43.2662)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412EB3 #A0B32E
analogous
#2E5EB3 #412EB3 #842EB3
triadic
#412EB3 #B3412E #2EB341
tetradic
#412EB3 #B32E5E #A0B32E #2EB384
square
#412EB3 #B32E5E #A0B32E #2EB384
split-complementary
#412EB3 #B3842E #5EB32E
monochromatic
#1E1552 #2F2182 #412EB3 #604DD1 #8B7EDE

Accessibility & contrast

On white

9.27
#412EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#412EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412EB3
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412EB3#FFFFFF#000000##FFFFFF
##412EB31.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#0042B1
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #412eb3;
/* rgb */ color: rgb(65, 46, 179);
/* oklch */ color: oklch(41.9% 0.197 280.1);
Tailwind
colors: {
  custom: {
    50: '#8469cb',
    500: '#412eb3',
    950: '#000000',
  },
}
SCSS
$custom: #412eb3;
$custom-light: #8469cb;
$custom-dark: #000000;
JSON
{
  "hex": "#412eb3",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 248.571,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.4189,
    "c": 0.19734,
    "h": 280.1
  },
  "luminance": 0.06332
}

Semantic roles & 50–950 ramp

primary
#412EB3
secondary
#BBC676
accent
#E246CC
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #412EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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