#3A489B#3A489B

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

Color values

HEX#3A489B
RGBrgb(58, 72, 155)
HSLhsl(231, 46%, 42%)
HSVhsv(231, 63%, 61%)
CMYKcmyk(62.6%, 53.5%, 0%, 39.2%)
CIE-LABlab(33.77, 21.32, -47.16)
CIE-LCHlch(33.77, 51.75, 294.32°)
OKLaboklab(43.72% 0.0056 -0.1352)
OKLCHoklch(43.72% 0.135 272.4)
XYZxyz(9.9767, 7.9000, 32.0031)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A489B #9B8D3A
analogous
#3A799B #3A489B #5D3A9B
triadic
#3A489B #9B3A48 #489B3A
tetradic
#3A489B #9B3A79 #9B8D3A #3A9B5D
square
#3A489B #9B3A79 #9B8D3A #3A9B5D
split-complementary
#3A489B #9B5D3A #799B3A
monochromatic
#191F42 #29336E #3A489B #5363BF #808BCF

Accessibility & contrast

On white

8.14
#3A489B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#3A489B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A489B
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A489B#FFFFFF#000000##FFFFFF
##3A489B1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15549E
Deuteranopia (green-blind)
#004B99
Tritanopia (blue-blind)
#005B6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3a489b;
/* rgb */ color: rgb(58, 72, 155);
/* oklch */ color: oklch(43.7% 0.135 272.4);
Tailwind
colors: {
  custom: {
    50: '#7a7ab9',
    500: '#3a489b',
    950: '#000000',
  },
}
SCSS
$custom: #3a489b;
$custom-light: #7a7ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a489b",
  "rgb": {
    "r": 58,
    "g": 72,
    "b": 155
  },
  "hsl": {
    "h": 231.34,
    "s": 45.54,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43723,
    "c": 0.13533,
    "h": 272.4
  },
  "luminance": 0.07901
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A489B

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

Preview Lab → · Contrast checker → · Palette generator →

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