#3A549F#3A549F

#3A549F is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.5% C 0.125 H 267.1°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#3A549F
RGBrgb(58, 84, 159)
HSLhsl(225, 47%, 43%)
HSVhsv(225, 64%, 62%)
CMYKcmyk(63.5%, 47.2%, 0%, 37.6%)
CIE-LABlab(37.38, 14.85, -43.77)
CIE-LCHlch(37.38, 46.22, 288.74°)
OKLaboklab(46.54% -0.0064 -0.1251)
OKLCHoklch(46.54% 0.125 267.1)
XYZxyz(11.1711, 9.7424, 34.0859)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A549F #9F853A
analogous
#3A879F #3A549F #523A9F
triadic
#3A549F #9F3A54 #549F3A
tetradic
#3A549F #9F3A87 #9F853A #3A9F52
square
#3A549F #9F3A87 #9F853A #3A9F52
split-complementary
#3A549F #9F523A #879F3A
monochromatic
#192545 #2A3C72 #3A549F #5571C1 #8296D1

Accessibility & contrast

On white

7.12
#3A549F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#3A549F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A549F
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A549F#FFFFFF#000000##FFFFFF
##3A549F1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5DA2
Deuteranopia (green-blind)
#1E549D
Tritanopia (blue-blind)
#006572
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3a549f;
/* rgb */ color: rgb(58, 84, 159);
/* oklch */ color: oklch(46.5% 0.125 267.1);
Tailwind
colors: {
  custom: {
    50: '#7a83bc',
    500: '#3a549f',
    950: '#000000',
  },
}
SCSS
$custom: #3a549f;
$custom-light: #7a83bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a549f",
  "rgb": {
    "r": 58,
    "g": 84,
    "b": 159
  },
  "hsl": {
    "h": 224.554,
    "s": 46.544,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46542,
    "c": 0.12525,
    "h": 267.1
  },
  "luminance": 0.09743
}

Semantic roles & 50–950 ramp

primary
#3A549F
secondary
#BBAA7A
accent
#B452D6
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3A549F

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

Preview Lab → · Contrast checker → · Palette generator →

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