#413C8E#413C8E

#413C8E is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.9% C 0.132 H 281.6°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#413C8E
RGBrgb(65, 60, 142)
HSLhsl(244, 41%, 40%)
HSVhsv(244, 58%, 56%)
CMYKcmyk(54.2%, 57.7%, 0%, 44.3%)
CIE-LABlab(30.18, 26.10, -45.01)
CIE-LCHlch(30.18, 52.03, 300.10°)
OKLaboklab(40.87% 0.0265 -0.1288)
OKLCHoklch(40.87% 0.132 281.6)
XYZxyz(8.6768, 6.3080, 26.3463)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413C8E #898E3C
analogous
#3C608E #413C8E #6A3C8E
triadic
#413C8E #8E413C #3C8E41
tetradic
#413C8E #8E3C60 #898E3C #3C8E6A
square
#413C8E #8E3C60 #898E3C #3C8E6A
split-complementary
#413C8E #8E6A3C #608E3C
monochromatic
#1A1838 #2D2A63 #413C8E #5852B6 #817DC8

Accessibility & contrast

On white

9.28
#413C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#413C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413C8E
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413C8E#FFFFFF#000000##FFFFFF
##413C8E1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014A91
Deuteranopia (green-blind)
#00448C
Tritanopia (blue-blind)
#204F5F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #413c8e;
/* rgb */ color: rgb(65, 60, 142);
/* oklch */ color: oklch(40.9% 0.132 281.6);
Tailwind
colors: {
  custom: {
    50: '#7c72b0',
    500: '#413c8e',
    950: '#000000',
  },
}
SCSS
$custom: #413c8e;
$custom-light: #7c72b0;
$custom-dark: #000000;
JSON
{
  "hex": "#413c8e",
  "rgb": {
    "r": 65,
    "g": 60,
    "b": 142
  },
  "hsl": {
    "h": 243.659,
    "s": 40.594,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40867,
    "c": 0.13151,
    "h": 281.6
  },
  "luminance": 0.06309
}

Semantic roles & 50–950 ramp

primary
#413C8E
secondary
#AEB274
accent
#D057C9
background
#F7F6FA
surface
#EEECF5
border
#C9C7CF
text
#0A0810
muted
#7C7B7F

Preview Lab

Preview with #413C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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