#3A549E#3A549E

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

Color values

HEX#3A549E
RGBrgb(58, 84, 158)
HSLhsl(224, 46%, 42%)
HSVhsv(224, 63%, 62%)
CMYKcmyk(63.3%, 46.8%, 0%, 38%)
CIE-LABlab(37.31, 14.49, -43.27)
CIE-LCHlch(37.31, 45.64, 288.51°)
OKLaboklab(46.47% -0.0065 -0.1236)
OKLCHoklch(46.47% 0.124 267)
XYZxyz(11.0847, 9.7078, 33.6308)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A549E #9E843A
analogous
#3A869E #3A549E #523A9E
triadic
#3A549E #9E3A54 #549E3A
tetradic
#3A549E #9E3A86 #9E843A #3A9E52
square
#3A549E #9E3A86 #9E843A #3A9E52
split-complementary
#3A549E #9E523A #869E3A
monochromatic
#192444 #2A3C71 #3A549E #5571C0 #8196D1

Accessibility & contrast

On white

7.14
#3A549E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#3A549E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A549E
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A549E#FFFFFF#000000##FFFFFF
##3A549E1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305DA1
Deuteranopia (green-blind)
#1F549C
Tritanopia (blue-blind)
#006571
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3a549e;
/* rgb */ color: rgb(58, 84, 158);
/* oklch */ color: oklch(46.5% 0.124 267.0);
Tailwind
colors: {
  custom: {
    50: '#7a83bb',
    500: '#3a549e',
    950: '#000000',
  },
}
SCSS
$custom: #3a549e;
$custom-light: #7a83bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a549e",
  "rgb": {
    "r": 58,
    "g": 84,
    "b": 158
  },
  "hsl": {
    "h": 224.4,
    "s": 46.296,
    "l": 42.353
  },
  "oklch": {
    "l": 0.46473,
    "c": 0.1238,
    "h": 267
  },
  "luminance": 0.09709
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A549E

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

Preview Lab → · Contrast checker → · Palette generator →

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