#3A459E#3A459E

#3A459E is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.4% C 0.144 H 273.5°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#3A459E
RGBrgb(58, 69, 158)
HSLhsl(233, 46%, 42%)
HSVhsv(233, 63%, 62%)
CMYKcmyk(63.3%, 56.3%, 0%, 38%)
CIE-LABlab(33.19, 24.37, -49.92)
CIE-LCHlch(33.19, 55.55, 296.02°)
OKLaboklab(43.35% 0.0088 -0.1434)
OKLCHoklch(43.35% 0.144 273.5)
XYZxyz(10.0426, 7.6236, 33.2834)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A459E #9E933A
analogous
#3A779E #3A459E #613A9E
triadic
#3A459E #9E3A45 #459E3A
tetradic
#3A459E #9E3A77 #9E933A #3A9E61
square
#3A459E #9E3A77 #9E933A #3A9E61
split-complementary
#3A459E #9E613A #779E3A
monochromatic
#191E44 #2A3171 #3A459E #5561C0 #818AD1

Accessibility & contrast

On white

8.32
#3A459E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#3A459E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A459E
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A459E#FFFFFF#000000##FFFFFF
##3A459E1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A1
Deuteranopia (green-blind)
#004A9C
Tritanopia (blue-blind)
#005A6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3a459e;
/* rgb */ color: rgb(58, 69, 158);
/* oklch */ color: oklch(43.4% 0.144 273.5);
Tailwind
colors: {
  custom: {
    50: '#7b78bb',
    500: '#3a459e',
    950: '#000000',
  },
}
SCSS
$custom: #3a459e;
$custom-light: #7b78bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a459e",
  "rgb": {
    "r": 58,
    "g": 69,
    "b": 158
  },
  "hsl": {
    "h": 233.4,
    "s": 46.296,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43351,
    "c": 0.14364,
    "h": 273.5
  },
  "luminance": 0.07624
}

Semantic roles & 50–950 ramp

primary
#3A459E
secondary
#BBB379
accent
#C752D6
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3A459E

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

Preview Lab → · Contrast checker → · Palette generator →

#3A459E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva