#413291#413291

#413291 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.3% C 0.149 H 284.4°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#413291
RGBrgb(65, 50, 145)
HSLhsl(249, 49%, 38%)
HSVhsv(249, 66%, 57%)
CMYKcmyk(55.2%, 65.5%, 0%, 43.1%)
CIE-LABlab(27.98, 33.42, -50.43)
CIE-LCHlch(27.98, 60.50, 303.53°)
OKLaboklab(39.33% 0.0371 -0.1448)
OKLCHoklch(39.33% 0.149 284.4)
XYZxyz(8.4299, 5.4489, 27.3901)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413291 #829132
analogous
#325291 #413291 #703291
triadic
#413291 #914132 #329141
tetradic
#413291 #913252 #829132 #329170
square
#413291 #913252 #829132 #329170
split-complementary
#413291 #917032 #529132
monochromatic
#181336 #2D2263 #413291 #5642BE #7F70CE

Accessibility & contrast

On white

10.05
#413291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#413291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413291
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413291#FFFFFF#000000##FFFFFF
##4132911.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004594
Deuteranopia (green-blind)
#003F8F
Tritanopia (blue-blind)
#1E495D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #413291;
/* rgb */ color: rgb(65, 50, 145);
/* oklch */ color: oklch(39.3% 0.149 284.4);
Tailwind
colors: {
  custom: {
    50: '#7e6bb2',
    500: '#413291',
    950: '#000000',
  },
}
SCSS
$custom: #413291;
$custom-light: #7e6bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#413291",
  "rgb": {
    "r": 65,
    "g": 50,
    "b": 145
  },
  "hsl": {
    "h": 249.474,
    "s": 48.718,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39326,
    "c": 0.14947,
    "h": 284.4
  },
  "luminance": 0.05449
}

Semantic roles & 50–950 ramp

primary
#413291
secondary
#A9B569
accent
#D850C3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #413291

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

Preview Lab → · Contrast checker → · Palette generator →

#413291 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva