#413A80#413A80

#413A80 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 39.4% C 0.114 H 284.4°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#413A80
RGBrgb(65, 58, 128)
HSLhsl(246, 38%, 36%)
HSVhsv(246, 55%, 50%)
CMYKcmyk(49.2%, 54.7%, 0%, 49.8%)
CIE-LABlab(28.66, 22.78, -38.77)
CIE-LCHlch(28.66, 44.96, 300.44°)
OKLaboklab(39.42% 0.0284 -0.1105)
OKLCHoklch(39.42% 0.114 284.4)
XYZxyz(7.5882, 5.7081, 21.1198)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413A80 #79803A
analogous
#3A5680 #413A80 #643A80
triadic
#413A80 #80413A #3A8041
tetradic
#413A80 #803A56 #79803A #3A8064
square
#413A80 #803A56 #79803A #3A8064
split-complementary
#413A80 #80643A #56803A
monochromatic
#16142C #2C2756 #413A80 #564DAA #7C74C0

Accessibility & contrast

On white

9.81
#413A80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#413A80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413A80
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413A80#FFFFFF#000000##FFFFFF
##413A801.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174682
Deuteranopia (green-blind)
#13417E
Tritanopia (blue-blind)
#2B4957
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #413a80;
/* rgb */ color: rgb(65, 58, 128);
/* oklch */ color: oklch(39.4% 0.114 284.4);
Tailwind
colors: {
  custom: {
    50: '#7a70a5',
    500: '#413a80',
    950: '#000000',
  },
}
SCSS
$custom: #413a80;
$custom-light: #7a70a5;
$custom-dark: #000000;
JSON
{
  "hex": "#413a80",
  "rgb": {
    "r": 65,
    "g": 58,
    "b": 128
  },
  "hsl": {
    "h": 246,
    "s": 37.634,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39424,
    "c": 0.11405,
    "h": 284.4
  },
  "luminance": 0.05708
}

Semantic roles & 50–950 ramp

primary
#413A80
secondary
#A3A96C
accent
#CE5AC2
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A070F
muted
#7C7A7F

Preview Lab

Preview with #413A80

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

Preview Lab → · Contrast checker → · Palette generator →

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