#413F7C#413F7C

#413F7C is a dark, moderate blue. Relative luminance 0.061; OKLCH L 40.2% C 0.100 H 282.4°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#413F7C
RGBrgb(65, 63, 124)
HSLhsl(242, 33%, 37%)
HSVhsv(242, 49%, 49%)
CMYKcmyk(47.6%, 49.2%, 0%, 51.4%)
CIE-LABlab(29.75, 18.17, -34.53)
CIE-LCHlch(29.75, 39.02, 297.75°)
OKLaboklab(40.15% 0.0215 -0.098)
OKLCHoklch(40.15% 0.1 282.4)
XYZxyz(7.5945, 6.1337, 19.8486)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413F7C #7A7C3F
analogous
#3F5C7C #413F7C #603F7C
triadic
#413F7C #7C413F #3F7C41
tetradic
#413F7C #7C3F5C #7A7C3F #3F7C60
square
#413F7C #7C3F5C #7A7C3F #3F7C60
split-complementary
#413F7C #7C603F #5C7C3F
monochromatic
#16162B #2C2A53 #413F7C #5654A5 #7C7ABB

Accessibility & contrast

On white

9.43
#413F7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#413F7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413F7C
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413F7C#FFFFFF#000000##FFFFFF
##413F7C1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26487E
Deuteranopia (green-blind)
#22447B
Tritanopia (blue-blind)
#2D4C57
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #413f7c;
/* rgb */ color: rgb(65, 63, 124);
/* oklch */ color: oklch(40.2% 0.100 282.4);
Tailwind
colors: {
  custom: {
    50: '#7974a2',
    500: '#413f7c',
    950: '#000000',
  },
}
SCSS
$custom: #413f7c;
$custom-light: #7974a2;
$custom-dark: #000000;
JSON
{
  "hex": "#413f7c",
  "rgb": {
    "r": 65,
    "g": 63,
    "b": 124
  },
  "hsl": {
    "h": 241.967,
    "s": 32.62,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40153,
    "c": 0.10031,
    "h": 282.4
  },
  "luminance": 0.06134
}

Semantic roles & 50–950 ramp

primary
#413F7C
secondary
#A4A671
accent
#C95FC5
background
#F7F7FA
surface
#EEEDF3
border
#C9C8CD
text
#09080F
muted
#7B7B7F

Preview Lab

Preview with #413F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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