#412FAF#412FAF

#412FAF is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.6% C 0.191 H 280.5°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#412FAF
RGBrgb(65, 47, 175)
HSLhsl(248, 58%, 44%)
HSVhsv(248, 73%, 69%)
CMYKcmyk(62.9%, 73.1%, 0%, 31.4%)
CIE-LABlab(30.04, 44.72, -65.26)
CIE-LCHlch(30.04, 79.11, 304.42°)
OKLaboklab(41.63% 0.0348 -0.1882)
OKLCHoklch(41.63% 0.191 280.5)
XYZxyz(10.9319, 6.2512, 41.1796)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412FAF #9DAF2F
analogous
#2F5DAF #412FAF #812FAF
triadic
#412FAF #AF412F #2FAF41
tetradic
#412FAF #AF2F5D #9DAF2F #2FAF81
square
#412FAF #AF2F5D #9DAF2F #2FAF81
split-complementary
#412FAF #AF812F #5DAF2F
monochromatic
#1D154F #2F227F #412FAF #5F4CCF #8A7CDC

Accessibility & contrast

On white

9.33
#412FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#412FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412FAF
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412FAF#FFFFFF#000000##FFFFFF
##412FAF1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB3
Deuteranopia (green-blind)
#0042AD
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #412faf;
/* rgb */ color: rgb(65, 47, 175);
/* oklch */ color: oklch(41.6% 0.191 280.5);
Tailwind
colors: {
  custom: {
    50: '#836ac8',
    500: '#412faf',
    950: '#000000',
  },
}
SCSS
$custom: #412faf;
$custom-light: #836ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#412faf",
  "rgb": {
    "r": 65,
    "g": 47,
    "b": 175
  },
  "hsl": {
    "h": 248.438,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41633,
    "c": 0.19144,
    "h": 280.5
  },
  "luminance": 0.06252
}

Semantic roles & 50–950 ramp

primary
#412FAF
secondary
#B9C475
accent
#E147CB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #412FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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