#413989#413989

#413989 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.129 H 283.4°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#413989
RGBrgb(65, 57, 137)
HSLhsl(246, 41%, 38%)
HSVhsv(246, 58%, 54%)
CMYKcmyk(52.6%, 58.4%, 0%, 46.3%)
CIE-LABlab(29.05, 26.39, -43.75)
CIE-LCHlch(29.05, 51.09, 301.09°)
OKLaboklab(39.91% 0.0299 -0.1251)
OKLCHoklch(39.91% 0.129 283.4)
XYZxyz(8.1571, 5.8558, 24.3625)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413989 #818939
analogous
#395989 #413989 #693989
triadic
#413989 #894139 #398941
tetradic
#413989 #893959 #818939 #398969
square
#413989 #893959 #818939 #398969
split-complementary
#413989 #896939 #598939
monochromatic
#181533 #2C275E #413989 #564BB4 #7E76C6

Accessibility & contrast

On white

9.67
#413989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#413989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413989
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413989#FFFFFF#000000##FFFFFF
##4139891.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478C
Deuteranopia (green-blind)
#004287
Tritanopia (blue-blind)
#254B5B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #413989;
/* rgb */ color: rgb(65, 57, 137);
/* oklch */ color: oklch(39.9% 0.129 283.4);
Tailwind
colors: {
  custom: {
    50: '#7c6fac',
    500: '#413989',
    950: '#000000',
  },
}
SCSS
$custom: #413989;
$custom-light: #7c6fac;
$custom-dark: #000000;
JSON
{
  "hex": "#413989",
  "rgb": {
    "r": 65,
    "g": 57,
    "b": 137
  },
  "hsl": {
    "h": 246,
    "s": 41.237,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39912,
    "c": 0.12865,
    "h": 283.4
  },
  "luminance": 0.05856
}

Semantic roles & 50–950 ramp

primary
#413989
secondary
#A9AF6F
accent
#D157C5
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #413989

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

Preview Lab → · Contrast checker → · Palette generator →

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