#3A489C#3A489C

#3A489C is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.8% C 0.137 H 272.4°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#3A489C
RGBrgb(58, 72, 156)
HSLhsl(231, 46%, 42%)
HSVhsv(231, 63%, 61%)
CMYKcmyk(62.8%, 53.8%, 0%, 38.8%)
CIE-LABlab(33.84, 21.68, -47.65)
CIE-LCHlch(33.84, 52.35, 294.46°)
OKLaboklab(43.8% 0.0057 -0.1366)
OKLCHoklch(43.8% 0.137 272.4)
XYZxyz(10.0610, 7.9337, 32.4472)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A489C #9C8E3A
analogous
#3A799C #3A489C #5D3A9C
triadic
#3A489C #9C3A48 #489C3A
tetradic
#3A489C #9C3A79 #9C8E3A #3A9C5D
square
#3A489C #9C3A79 #9C8E3A #3A9C5D
split-complementary
#3A489C #9C5D3A #799C3A
monochromatic
#191F43 #29336F #3A489C #5463BF #808CD0

Accessibility & contrast

On white

8.12
#3A489C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3A489C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A489C
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A489C#FFFFFF#000000##FFFFFF
##3A489C1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13549F
Deuteranopia (green-blind)
#004B9A
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3a489c;
/* rgb */ color: rgb(58, 72, 156);
/* oklch */ color: oklch(43.8% 0.137 272.4);
Tailwind
colors: {
  custom: {
    50: '#7a7aba',
    500: '#3a489c',
    950: '#000000',
  },
}
SCSS
$custom: #3a489c;
$custom-light: #7a7aba;
$custom-dark: #000000;
JSON
{
  "hex": "#3a489c",
  "rgb": {
    "r": 58,
    "g": 72,
    "b": 156
  },
  "hsl": {
    "h": 231.429,
    "s": 45.794,
    "l": 41.961
  },
  "oklch": {
    "l": 0.43798,
    "c": 0.13677,
    "h": 272.4
  },
  "luminance": 0.07935
}

Semantic roles & 50–950 ramp

primary
#3A489C
secondary
#BAB078
accent
#C352D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3A489C

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

Preview Lab → · Contrast checker → · Palette generator →

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