#3A539B#3A539B

#3A539B is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.1% C 0.121 H 267.2°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#3A539B
RGBrgb(58, 83, 155)
HSLhsl(225, 46%, 42%)
HSVhsv(225, 63%, 61%)
CMYKcmyk(62.6%, 46.5%, 0%, 39.2%)
CIE-LABlab(36.84, 14.06, -42.23)
CIE-LCHlch(36.84, 44.51, 288.42°)
OKLaboklab(46.05% -0.0059 -0.1206)
OKLCHoklch(46.05% 0.121 267.2)
XYZxyz(10.7526, 9.4517, 32.2617)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A539B #9B823A
analogous
#3A849B #3A539B #523A9B
triadic
#3A539B #9B3A53 #539B3A
tetradic
#3A539B #9B3A84 #9B823A #3A9B52
square
#3A539B #9B3A84 #9B823A #3A9B52
split-complementary
#3A539B #9B523A #849B3A
monochromatic
#192342 #293B6E #3A539B #536FBF #8094CF

Accessibility & contrast

On white

7.26
#3A539B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#3A539B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A539B
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A539B#FFFFFF#000000##FFFFFF
##3A539B1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315B9E
Deuteranopia (green-blind)
#215399
Tritanopia (blue-blind)
#00636F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3a539b;
/* rgb */ color: rgb(58, 83, 155);
/* oklch */ color: oklch(46.1% 0.121 267.2);
Tailwind
colors: {
  custom: {
    50: '#7a83b9',
    500: '#3a539b',
    950: '#000000',
  },
}
SCSS
$custom: #3a539b;
$custom-light: #7a83b9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a539b",
  "rgb": {
    "r": 58,
    "g": 83,
    "b": 155
  },
  "hsl": {
    "h": 224.536,
    "s": 45.54,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4605,
    "c": 0.12072,
    "h": 267.2
  },
  "luminance": 0.09453
}

Semantic roles & 50–950 ramp

primary
#3A539B
secondary
#B9A878
accent
#B453D5
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #3A539B

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

Preview Lab → · Contrast checker → · Palette generator →

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