#413F8D#413F8D

#413F8D is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.4% C 0.126 H 280.5°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#413F8D
RGBrgb(65, 63, 141)
HSLhsl(242, 38%, 40%)
HSVhsv(242, 55%, 55%)
CMYKcmyk(53.9%, 55.3%, 0%, 44.7%)
CIE-LABlab(30.88, 23.81, -43.26)
CIE-LCHlch(30.88, 49.38, 298.83°)
OKLaboklab(41.37% 0.023 -0.1236)
OKLCHoklch(41.37% 0.126 280.5)
XYZxyz(8.7637, 6.6014, 26.0065)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413F8D #8B8D3F
analogous
#3F648D #413F8D #683F8D
triadic
#413F8D #8D413F #3F8D41
tetradic
#413F8D #8D3F64 #8B8D3F #3F8D68
square
#413F8D #8D3F64 #8B8D3F #3F8D68
split-complementary
#413F8D #8D683F #648D3F
monochromatic
#1A1938 #2D2C63 #413F8D #5856B3 #8280C6

Accessibility & contrast

On white

9.05
#413F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#413F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413F8D
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413F8D#FFFFFF#000000##FFFFFF
##413F8D1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114C90
Deuteranopia (green-blind)
#05468B
Tritanopia (blue-blind)
#21515F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #413f8d;
/* rgb */ color: rgb(65, 63, 141);
/* oklch */ color: oklch(41.4% 0.126 280.5);
Tailwind
colors: {
  custom: {
    50: '#7c74af',
    500: '#413f8d',
    950: '#000000',
  },
}
SCSS
$custom: #413f8d;
$custom-light: #7c74af;
$custom-dark: #000000;
JSON
{
  "hex": "#413f8d",
  "rgb": {
    "r": 65,
    "g": 63,
    "b": 141
  },
  "hsl": {
    "h": 241.538,
    "s": 38.235,
    "l": 40
  },
  "oklch": {
    "l": 0.41369,
    "c": 0.12576,
    "h": 280.5
  },
  "luminance": 0.06602
}

Semantic roles & 50–950 ramp

primary
#413F8D
secondary
#AFB177
accent
#CE5ACB
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A0810
muted
#7C7B7F

Preview Lab

Preview with #413F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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