#413EB2#413EB2

#413EB2 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.2% C 0.178 H 277.4°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#413EB2
RGBrgb(65, 62, 178)
HSLhsl(242, 48%, 47%)
HSVhsv(242, 65%, 70%)
CMYKcmyk(63.5%, 65.2%, 0%, 30.2%)
CIE-LABlab(33.53, 36.91, -61.33)
CIE-LCHlch(33.53, 71.58, 301.04°)
OKLaboklab(44.22% 0.0229 -0.1767)
OKLCHoklch(44.22% 0.178 277.4)
XYZxyz(11.9359, 7.7825, 42.9840)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413EB2 #AFB23E
analogous
#3E75B2 #413EB2 #7B3EB2
triadic
#413EB2 #B2413E #3EB241
tetradic
#413EB2 #B23E75 #AFB23E #3EB27B
square
#413EB2 #B23E75 #AFB23E #3EB27B
split-complementary
#413EB2 #B27B3E #75B23E
monochromatic
#201E57 #302E85 #413EB2 #6764C9 #9392D9

Accessibility & contrast

On white

8.21
#413EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#413EB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413EB2
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413EB2#FFFFFF#000000##FFFFFF
##413EB21.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#004AB0
Tritanopia (blue-blind)
#005C72
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #413eb2;
/* rgb */ color: rgb(65, 62, 178);
/* oklch */ color: oklch(44.2% 0.178 277.4);
Tailwind
colors: {
  custom: {
    50: '#8374ca',
    500: '#413eb2',
    950: '#000000',
  },
}
SCSS
$custom: #413eb2;
$custom-light: #8374ca;
$custom-dark: #000000;
JSON
{
  "hex": "#413eb2",
  "rgb": {
    "r": 65,
    "g": 62,
    "b": 178
  },
  "hsl": {
    "h": 241.552,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44224,
    "c": 0.17822,
    "h": 277.4
  },
  "luminance": 0.07783
}

Semantic roles & 50–950 ramp

primary
#413EB2
secondary
#C2C488
accent
#D850D4
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #413EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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