#3A539A#3A539A

#3A539A is a mid, moderate blue. Relative luminance 0.094; OKLCH L 46.0% C 0.119 H 267.1°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#3A539A
RGBrgb(58, 83, 154)
HSLhsl(224, 45%, 42%)
HSVhsv(224, 62%, 60%)
CMYKcmyk(62.3%, 46.1%, 0%, 39.6%)
CIE-LABlab(36.78, 13.70, -41.73)
CIE-LCHlch(36.78, 43.92, 288.18°)
OKLaboklab(45.98% -0.0061 -0.1191)
OKLCHoklch(45.98% 0.119 267.1)
XYZxyz(10.6689, 9.4182, 31.8213)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A539A #9A813A
analogous
#3A839A #3A539A #513A9A
triadic
#3A539A #9A3A53 #539A3A
tetradic
#3A539A #9A3A83 #9A813A #3A9A51
square
#3A539A #9A3A83 #9A813A #3A9A51
split-complementary
#3A539A #9A513A #839A3A
monochromatic
#192341 #293B6E #3A539A #536FBE #7F94CF

Accessibility & contrast

On white

7.28
#3A539A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#3A539A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A539A
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A539A#FFFFFF#000000##FFFFFF
##3A539A1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a539a;
/* rgb */ color: rgb(58, 83, 154);
/* oklch */ color: oklch(46.0% 0.119 267.1);
Tailwind
colors: {
  custom: {
    50: '#7983b8',
    500: '#3a539a',
    950: '#000000',
  },
}
SCSS
$custom: #3a539a;
$custom-light: #7983b8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a539a",
  "rgb": {
    "r": 58,
    "g": 83,
    "b": 154
  },
  "hsl": {
    "h": 224.375,
    "s": 45.283,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45983,
    "c": 0.11925,
    "h": 267.1
  },
  "luminance": 0.09419
}

Semantic roles & 50–950 ramp

primary
#3A539A
secondary
#B9A877
accent
#B353D5
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #3A539A

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

Preview Lab → · Contrast checker → · Palette generator →

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