#413388#413388

#413388 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.7% C 0.136 H 285.7°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#413388
RGBrgb(65, 51, 136)
HSLhsl(250, 45%, 37%)
HSVhsv(250, 63%, 53%)
CMYKcmyk(52.2%, 62.5%, 0%, 46.7%)
CIE-LABlab(27.49, 29.90, -45.66)
CIE-LCHlch(27.49, 54.57, 303.22°)
OKLaboklab(38.74% 0.0368 -0.1308)
OKLCHoklch(38.74% 0.136 285.7)
XYZxyz(7.8064, 5.2687, 23.8934)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413388 #7A8833
analogous
#335088 #413388 #6C3388
triadic
#413388 #884133 #338841
tetradic
#413388 #883350 #7A8833 #33886C
square
#413388 #883350 #7A8833 #33886C
split-complementary
#413388 #886C33 #508833
monochromatic
#16122F #2C225B #413388 #5644B5 #7C6DC8

Accessibility & contrast

On white

10.22
#413388 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#413388 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413388
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413388#FFFFFF#000000##FFFFFF
##4133881.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438B
Deuteranopia (green-blind)
#003E86
Tritanopia (blue-blind)
#264758
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #413388;
/* rgb */ color: rgb(65, 51, 136);
/* oklch */ color: oklch(38.7% 0.136 285.7);
Tailwind
colors: {
  custom: {
    50: '#7c6bab',
    500: '#413388',
    950: '#000000',
  },
}
SCSS
$custom: #413388;
$custom-light: #7c6bab;
$custom-dark: #000000;
JSON
{
  "hex": "#413388",
  "rgb": {
    "r": 65,
    "g": 51,
    "b": 136
  },
  "hsl": {
    "h": 249.882,
    "s": 45.455,
    "l": 36.667
  },
  "oklch": {
    "l": 0.3874,
    "c": 0.13583,
    "h": 285.7
  },
  "luminance": 0.05269
}

Semantic roles & 50–950 ramp

primary
#413388
secondary
#A4B067
accent
#D553C0
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #413388

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

Preview Lab → · Contrast checker → · Palette generator →

#413388 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva