#3A459C#3A459C

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

Color values

HEX#3A459C
RGBrgb(58, 69, 156)
HSLhsl(233, 46%, 42%)
HSVhsv(233, 63%, 61%)
CMYKcmyk(62.8%, 55.8%, 0%, 38.8%)
CIE-LABlab(33.04, 23.65, -48.95)
CIE-LCHlch(33.04, 54.37, 295.79°)
OKLaboklab(43.19% 0.0087 -0.1405)
OKLCHoklch(43.19% 0.141 273.5)
XYZxyz(9.8718, 7.5553, 32.3841)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A459C #9C913A
analogous
#3A769C #3A459C #603A9C
triadic
#3A459C #9C3A45 #459C3A
tetradic
#3A459C #9C3A76 #9C913A #3A9C60
square
#3A459C #9C3A76 #9C913A #3A9C60
split-complementary
#3A459C #9C603A #769C3A
monochromatic
#191E43 #29316F #3A459C #5460BF #8089D0

Accessibility & contrast

On white

8.36
#3A459C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#3A459C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A459C
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A459C#FFFFFF#000000##FFFFFF
##3A459C1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03529F
Deuteranopia (green-blind)
#004A9A
Tritanopia (blue-blind)
#005A69
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3a459c;
/* rgb */ color: rgb(58, 69, 156);
/* oklch */ color: oklch(43.2% 0.141 273.5);
Tailwind
colors: {
  custom: {
    50: '#7a78ba',
    500: '#3a459c',
    950: '#000000',
  },
}
SCSS
$custom: #3a459c;
$custom-light: #7a78ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3a459c",
  "rgb": {
    "r": 58,
    "g": 69,
    "b": 156
  },
  "hsl": {
    "h": 233.265,
    "s": 45.794,
    "l": 41.961
  },
  "oklch": {
    "l": 0.43194,
    "c": 0.14079,
    "h": 273.5
  },
  "luminance": 0.07556
}

Semantic roles & 50–950 ramp

primary
#3A459C
secondary
#BAB278
accent
#C752D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3A459C

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

Preview Lab → · Contrast checker → · Palette generator →

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