#412FAB#412FAB

#412FAB is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.2% C 0.187 H 281.0°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#412FAB
RGBrgb(65, 47, 171)
HSLhsl(249, 57%, 43%)
HSVhsv(249, 73%, 67%)
CMYKcmyk(62%, 72.5%, 0%, 32.9%)
CIE-LABlab(29.65, 43.47, -63.49)
CIE-LCHlch(29.65, 76.95, 304.40°)
OKLaboklab(41.25% 0.0356 -0.1831)
OKLCHoklch(41.25% 0.187 281)
XYZxyz(10.5449, 6.0964, 39.1412)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412FAB #99AB2F
analogous
#2F5BAB #412FAB #7F2FAB
triadic
#412FAB #AB412F #2FAB41
tetradic
#412FAB #AB2F5B #99AB2F #2FAB7F
square
#412FAB #AB2F5B #99AB2F #2FAB7F
split-complementary
#412FAB #AB7F2F #5BAB2F
monochromatic
#1D154B #2F227B #412FAB #5D4ACD #887ADA

Accessibility & contrast

On white

9.46
#412FAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#412FAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412FAB
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412FAB#FFFFFF#000000##FFFFFF
##412FAB1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAF
Deuteranopia (green-blind)
#0041A9
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #412fab;
/* rgb */ color: rgb(65, 47, 171);
/* oklch */ color: oklch(41.2% 0.187 281.0);
Tailwind
colors: {
  custom: {
    50: '#836ac5',
    500: '#412fab',
    950: '#000000',
  },
}
SCSS
$custom: #412fab;
$custom-light: #836ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#412fab",
  "rgb": {
    "r": 65,
    "g": 47,
    "b": 171
  },
  "hsl": {
    "h": 248.71,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.41245,
    "c": 0.18652,
    "h": 281
  },
  "luminance": 0.06097
}

Semantic roles & 50–950 ramp

primary
#412FAB
secondary
#B7C373
accent
#E048CA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #412FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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