#3A459B#3A459B

#3A459B is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.1% C 0.139 H 273.6°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#3A459B
RGBrgb(58, 69, 155)
HSLhsl(233, 46%, 42%)
HSVhsv(233, 63%, 61%)
CMYKcmyk(62.6%, 55.5%, 0%, 39.2%)
CIE-LABlab(32.97, 23.30, -48.47)
CIE-LCHlch(32.97, 53.77, 295.68°)
OKLaboklab(43.12% 0.0087 -0.1391)
OKLCHoklch(43.12% 0.139 273.6)
XYZxyz(9.7875, 7.5215, 31.9400)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A459B #9B903A
analogous
#3A769B #3A459B #603A9B
triadic
#3A459B #9B3A45 #459B3A
tetradic
#3A459B #9B3A76 #9B903A #3A9B60
square
#3A459B #9B3A76 #9B903A #3A9B60
split-complementary
#3A459B #9B603A #769B3A
monochromatic
#191D42 #29316E #3A459B #5360BF #8089CF

Accessibility & contrast

On white

8.39
#3A459B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#3A459B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A459B
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A459B#FFFFFF#000000##FFFFFF
##3A459B1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06529E
Deuteranopia (green-blind)
#004999
Tritanopia (blue-blind)
#005969
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3a459b;
/* rgb */ color: rgb(58, 69, 155);
/* oklch */ color: oklch(43.1% 0.139 273.6);
Tailwind
colors: {
  custom: {
    50: '#7a78b9',
    500: '#3a459b',
    950: '#000000',
  },
}
SCSS
$custom: #3a459b;
$custom-light: #7a78b9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a459b",
  "rgb": {
    "r": 58,
    "g": 69,
    "b": 155
  },
  "hsl": {
    "h": 233.196,
    "s": 45.54,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43116,
    "c": 0.13936,
    "h": 273.6
  },
  "luminance": 0.07522
}

Semantic roles & 50–950 ramp

primary
#3A459B
secondary
#B9B278
accent
#C653D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #3A459B

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

Preview Lab → · Contrast checker → · Palette generator →

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