#3A479E#3A479E

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

Color values

HEX#3A479E
RGBrgb(58, 71, 158)
HSLhsl(232, 46%, 42%)
HSVhsv(232, 63%, 62%)
CMYKcmyk(63.3%, 55.1%, 0%, 38%)
CIE-LABlab(33.72, 23.05, -49.06)
CIE-LCHlch(33.72, 54.21, 295.17°)
OKLaboklab(43.75% 0.0068 -0.1408)
OKLCHoklch(43.75% 0.141 272.8)
XYZxyz(10.1677, 7.8738, 33.3251)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A479E #9E913A
analogous
#3A799E #3A479E #5F3A9E
triadic
#3A479E #9E3A47 #479E3A
tetradic
#3A479E #9E3A79 #9E913A #3A9E5F
square
#3A479E #9E3A79 #9E913A #3A9E5F
split-complementary
#3A479E #9E5F3A #799E3A
monochromatic
#191F44 #2A3371 #3A479E #5563C0 #818CD1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A479E#FFFFFF#000000##FFFFFF
##3A479E1.008.162.588.16
#FFFFFF8.161.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0954A1
Deuteranopia (green-blind)
#004B9C
Tritanopia (blue-blind)
#005B6B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3a479e;
/* rgb */ color: rgb(58, 71, 158);
/* oklch */ color: oklch(43.8% 0.141 272.8);
Tailwind
colors: {
  custom: {
    50: '#7b7abb',
    500: '#3a479e',
    950: '#000000',
  },
}
SCSS
$custom: #3a479e;
$custom-light: #7b7abb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a479e",
  "rgb": {
    "r": 58,
    "g": 71,
    "b": 158
  },
  "hsl": {
    "h": 232.2,
    "s": 46.296,
    "l": 42.353
  },
  "oklch": {
    "l": 0.4375,
    "c": 0.14099,
    "h": 272.8
  },
  "luminance": 0.07875
}

Semantic roles & 50–950 ramp

primary
#3A479E
secondary
#BBB279
accent
#C552D6
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3A479E

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

Preview Lab → · Contrast checker → · Palette generator →

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