#3A489E#3A489E

#3A489E is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.0% C 0.140 H 272.4°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#3A489E
RGBrgb(58, 72, 158)
HSLhsl(232, 46%, 42%)
HSVhsv(232, 63%, 62%)
CMYKcmyk(63.3%, 54.4%, 0%, 38%)
CIE-LABlab(33.99, 22.39, -48.63)
CIE-LCHlch(33.99, 53.53, 294.72°)
OKLaboklab(43.95% 0.0058 -0.1395)
OKLCHoklch(43.95% 0.14 272.4)
XYZxyz(10.2318, 8.0020, 33.3465)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A489E #9E903A
analogous
#3A7A9E #3A489E #5E3A9E
triadic
#3A489E #9E3A48 #489E3A
tetradic
#3A489E #9E3A7A #9E903A #3A9E5E
square
#3A489E #9E3A7A #9E903A #3A9E5E
split-complementary
#3A489E #9E5E3A #7A9E3A
monochromatic
#191F44 #2A3471 #3A489E #5564C0 #818DD1

Accessibility & contrast

On white

8.08
#3A489E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#3A489E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A489E
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A489E#FFFFFF#000000##FFFFFF
##3A489E1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F54A1
Deuteranopia (green-blind)
#004C9C
Tritanopia (blue-blind)
#005C6C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3a489e;
/* rgb */ color: rgb(58, 72, 158);
/* oklch */ color: oklch(44.0% 0.140 272.4);
Tailwind
colors: {
  custom: {
    50: '#7b7abb',
    500: '#3a489e',
    950: '#000000',
  },
}
SCSS
$custom: #3a489e;
$custom-light: #7b7abb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a489e",
  "rgb": {
    "r": 58,
    "g": 72,
    "b": 158
  },
  "hsl": {
    "h": 231.6,
    "s": 46.296,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43951,
    "c": 0.13965,
    "h": 272.4
  },
  "luminance": 0.08003
}

Semantic roles & 50–950 ramp

primary
#3A489E
secondary
#BBB179
accent
#C352D6
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3A489E

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

Preview Lab → · Contrast checker → · Palette generator →

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