#3A489A#3A489A

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

Color values

HEX#3A489A
RGBrgb(58, 72, 154)
HSLhsl(231, 45%, 42%)
HSVhsv(231, 62%, 60%)
CMYKcmyk(62.3%, 53.2%, 0%, 39.6%)
CIE-LABlab(33.70, 20.96, -46.67)
CIE-LCHlch(33.70, 51.16, 294.19°)
OKLaboklab(43.65% 0.0056 -0.1338)
OKLCHoklch(43.65% 0.134 272.4)
XYZxyz(9.8931, 7.8666, 31.5626)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A489A #9A8C3A
analogous
#3A789A #3A489A #5C3A9A
triadic
#3A489A #9A3A48 #489A3A
tetradic
#3A489A #9A3A78 #9A8C3A #3A9A5C
square
#3A489A #9A3A78 #9A8C3A #3A9A5C
split-complementary
#3A489A #9A5C3A #789A3A
monochromatic
#191E41 #29336E #3A489A #5363BE #7F8BCF

Accessibility & contrast

On white

8.16
#3A489A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#3A489A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A489A
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A489A#FFFFFF#000000##FFFFFF
##3A489A1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17549D
Deuteranopia (green-blind)
#004B98
Tritanopia (blue-blind)
#005B6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3a489a;
/* rgb */ color: rgb(58, 72, 154);
/* oklch */ color: oklch(43.6% 0.134 272.4);
Tailwind
colors: {
  custom: {
    50: '#7a7ab8',
    500: '#3a489a',
    950: '#000000',
  },
}
SCSS
$custom: #3a489a;
$custom-light: #7a7ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a489a",
  "rgb": {
    "r": 58,
    "g": 72,
    "b": 154
  },
  "hsl": {
    "h": 231.25,
    "s": 45.283,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43647,
    "c": 0.13388,
    "h": 272.4
  },
  "luminance": 0.07867
}

Semantic roles & 50–950 ramp

primary
#3A489A
secondary
#B9AF77
accent
#C253D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #3A489A

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

Preview Lab → · Contrast checker → · Palette generator →

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