#413F7B#413F7B

#413F7B is a dark, moderate blue. Relative luminance 0.061; OKLCH L 40.1% C 0.099 H 282.5°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#413F7B
RGBrgb(65, 63, 123)
HSLhsl(242, 32%, 36%)
HSVhsv(242, 49%, 48%)
CMYKcmyk(47.2%, 48.8%, 0%, 51.8%)
CIE-LABlab(29.68, 17.84, -34.00)
CIE-LCHlch(29.68, 38.40, 297.69°)
OKLaboklab(40.09% 0.0214 -0.0964)
OKLCHoklch(40.09% 0.099 282.5)
XYZxyz(7.5316, 6.1085, 19.5173)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413F7B #797B3F
analogous
#3F5B7B #413F7B #5F3F7B
triadic
#413F7B #7B413F #3F7B41
tetradic
#413F7B #7B3F5B #797B3F #3F7B5F
square
#413F7B #7B3F5B #797B3F #3F7B5F
split-complementary
#413F7B #7B5F3F #5B7B3F
monochromatic
#16162A #2C2A53 #413F7B #5654A3 #7C7ABB

Accessibility & contrast

On white

9.45
#413F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#413F7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413F7B
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413F7B#FFFFFF#000000##FFFFFF
##413F7B1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26487D
Deuteranopia (green-blind)
#23447A
Tritanopia (blue-blind)
#2E4C57
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #413f7b;
/* rgb */ color: rgb(65, 63, 123);
/* oklch */ color: oklch(40.1% 0.099 282.5);
Tailwind
colors: {
  custom: {
    50: '#7974a1',
    500: '#413f7b',
    950: '#000000',
  },
}
SCSS
$custom: #413f7b;
$custom-light: #7974a1;
$custom-dark: #000000;
JSON
{
  "hex": "#413f7b",
  "rgb": {
    "r": 65,
    "g": 63,
    "b": 123
  },
  "hsl": {
    "h": 242,
    "s": 32.258,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40085,
    "c": 0.09877,
    "h": 282.5
  },
  "luminance": 0.06109
}

Semantic roles & 50–950 ramp

primary
#413F7B
secondary
#A3A571
accent
#C85FC5
background
#F7F7FA
surface
#EEEDF3
border
#C9C8CD
text
#09080F
muted
#7B7B7F

Preview Lab

Preview with #413F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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