#3A49A2#3A49A2

#3A49A2 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.5% C 0.144 H 272.0°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#3A49A2
RGBrgb(58, 73, 162)
HSLhsl(231, 47%, 43%)
HSVhsv(231, 64%, 64%)
CMYKcmyk(64.2%, 54.9%, 0%, 36.5%)
CIE-LABlab(34.54, 23.17, -50.13)
CIE-LCHlch(34.54, 55.23, 294.80°)
OKLaboklab(44.46% 0.0051 -0.1439)
OKLCHoklch(44.46% 0.144 272)
XYZxyz(10.6469, 8.2723, 35.2111)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A49A2 #A2933A
analogous
#3A7DA2 #3A49A2 #5F3AA2
triadic
#3A49A2 #A23A49 #49A23A
tetradic
#3A49A2 #A23A7D #A2933A #3AA25F
square
#3A49A2 #A23A7D #A2933A #3AA25F
split-complementary
#3A49A2 #A25F3A #7DA23A
monochromatic
#1A2048 #2A3575 #3A49A2 #5766C3 #848FD3

Accessibility & contrast

On white

7.91
#3A49A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3A49A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A49A2
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A49A2#FFFFFF#000000##FFFFFF
##3A49A21.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0856A5
Deuteranopia (green-blind)
#004DA0
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3a49a2;
/* rgb */ color: rgb(58, 73, 162);
/* oklch */ color: oklch(44.5% 0.144 272.0);
Tailwind
colors: {
  custom: {
    50: '#7b7bbe',
    500: '#3a49a2',
    950: '#000000',
  },
}
SCSS
$custom: #3a49a2;
$custom-light: #7b7bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3a49a2",
  "rgb": {
    "r": 58,
    "g": 73,
    "b": 162
  },
  "hsl": {
    "h": 231.346,
    "s": 47.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.44461,
    "c": 0.14404,
    "h": 272
  },
  "luminance": 0.08273
}

Semantic roles & 50–950 ramp

primary
#3A49A2
secondary
#BDB37B
accent
#C451D7
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3A49A2

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

Preview Lab → · Contrast checker → · Palette generator →

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