#413BA8#413BA8

#413BA8 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.8% C 0.169 H 279.0°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#413BA8
RGBrgb(65, 59, 168)
HSLhsl(243, 48%, 45%)
HSVhsv(243, 65%, 66%)
CMYKcmyk(61.3%, 64.9%, 0%, 34.1%)
CIE-LABlab(31.98, 35.42, -57.88)
CIE-LCHlch(31.98, 67.85, 301.47°)
OKLaboklab(42.84% 0.0264 -0.1666)
OKLCHoklch(42.84% 0.169 279)
XYZxyz(10.8096, 7.0781, 37.8348)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413BA8 #A2A83B
analogous
#3B6BA8 #413BA8 #783BA8
triadic
#413BA8 #A8413B #3BA841
tetradic
#413BA8 #A83B6B #A2A83B #3BA878
square
#413BA8 #A83B6B #A2A83B #3BA878
split-complementary
#413BA8 #A8783B #6BA83B
monochromatic
#1E1B4D #2F2B7B #413BA8 #615BC5 #8C88D5

Accessibility & contrast

On white

8.69
#413BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#413BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413BA8
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413BA8#FFFFFF#000000##FFFFFF
##413BA81.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AB
Deuteranopia (green-blind)
#0047A6
Tritanopia (blue-blind)
#00576C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #413ba8;
/* rgb */ color: rgb(65, 59, 168);
/* oklch */ color: oklch(42.8% 0.169 279.0);
Tailwind
colors: {
  custom: {
    50: '#8171c3',
    500: '#413ba8',
    950: '#000000',
  },
}
SCSS
$custom: #413ba8;
$custom-light: #8171c3;
$custom-dark: #000000;
JSON
{
  "hex": "#413ba8",
  "rgb": {
    "r": 65,
    "g": 59,
    "b": 168
  },
  "hsl": {
    "h": 243.303,
    "s": 48.018,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42839,
    "c": 0.1687,
    "h": 279
  },
  "luminance": 0.07079
}

Semantic roles & 50–950 ramp

primary
#413BA8
secondary
#BCC07F
accent
#D850D0
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #413BA8

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

Preview Lab → · Contrast checker → · Palette generator →

#413BA8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva