#413DA2#413DA2

#413DA2 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.7% C 0.158 H 279.1°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#413DA2
RGBrgb(65, 61, 162)
HSLhsl(242, 45%, 44%)
HSVhsv(242, 62%, 64%)
CMYKcmyk(59.9%, 62.3%, 0%, 36.5%)
CIE-LABlab(31.96, 32.16, -54.30)
CIE-LCHlch(31.96, 63.11, 300.64°)
OKLaboklab(42.67% 0.025 -0.1561)
OKLCHoklch(42.67% 0.158 279.1)
XYZxyz(10.3682, 7.0692, 34.9935)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413DA2 #9EA23D
analogous
#3D6BA2 #413DA2 #733DA2
triadic
#413DA2 #A2413D #3DA241
tetradic
#413DA2 #A23D6B #9EA23D #3DA273
square
#413DA2 #A23D6B #9EA23D #3DA273
split-complementary
#413DA2 #A2733D #6BA23D
monochromatic
#1D1C49 #2F2C76 #413DA2 #5F5BC1 #8A87D2

Accessibility & contrast

On white

8.70
#413DA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#413DA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413DA2
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413DA2#FFFFFF#000000##FFFFFF
##413DA21.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA5
Deuteranopia (green-blind)
#0047A0
Tritanopia (blue-blind)
#005669
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #413da2;
/* rgb */ color: rgb(65, 61, 162);
/* oklch */ color: oklch(42.7% 0.158 279.1);
Tailwind
colors: {
  custom: {
    50: '#8073be',
    500: '#413da2',
    950: '#000000',
  },
}
SCSS
$custom: #413da2;
$custom-light: #8073be;
$custom-dark: #000000;
JSON
{
  "hex": "#413da2",
  "rgb": {
    "r": 65,
    "g": 61,
    "b": 162
  },
  "hsl": {
    "h": 242.376,
    "s": 45.291,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42671,
    "c": 0.1581,
    "h": 279.1
  },
  "luminance": 0.0707
}

Semantic roles & 50–950 ramp

primary
#413DA2
secondary
#BABC7E
accent
#D553D0
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #413DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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