#412FB3#412FB3

#412FB3 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 42.0% C 0.196 H 280.0°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#412FB3
RGBrgb(65, 47, 179)
HSLhsl(248, 58%, 44%)
HSVhsv(248, 74%, 70%)
CMYKcmyk(63.7%, 73.7%, 0%, 29.8%)
CIE-LABlab(30.43, 45.97, -67.01)
CIE-LCHlch(30.43, 81.26, 304.45°)
OKLaboklab(42.03% 0.0339 -0.1934)
OKLCHoklch(42.03% 0.196 280)
XYZxyz(11.3306, 6.4106, 43.2794)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412FB3 #A1B32F
analogous
#2F5FB3 #412FB3 #832FB3
triadic
#412FB3 #B3412F #2FB341
tetradic
#412FB3 #B32F5F #A1B32F #2FB383
square
#412FB3 #B32F5F #A1B32F #2FB383
split-complementary
#412FB3 #B3832F #5FB32F
monochromatic
#1E1652 #2F2283 #412FB3 #604FD1 #8C7FDD

Accessibility & contrast

On white

9.20
#412FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#412FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412FB3
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412FB3#FFFFFF#000000##FFFFFF
##412FB31.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #412fb3;
/* rgb */ color: rgb(65, 47, 179);
/* oklch */ color: oklch(42.0% 0.196 280.0);
Tailwind
colors: {
  custom: {
    50: '#846acb',
    500: '#412fb3',
    950: '#000000',
  },
}
SCSS
$custom: #412fb3;
$custom-light: #846acb;
$custom-dark: #000000;
JSON
{
  "hex": "#412fb3",
  "rgb": {
    "r": 65,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 248.182,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42026,
    "c": 0.19632,
    "h": 280
  },
  "luminance": 0.06412
}

Semantic roles & 50–950 ramp

primary
#412FB3
secondary
#BBC678
accent
#E246CC
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #412FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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