#3A4DAA#3A4DAA

#3A4DAA is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.9% C 0.150 H 270.7°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#3A4DAA
RGBrgb(58, 77, 170)
HSLhsl(230, 49%, 45%)
HSVhsv(230, 66%, 67%)
CMYKcmyk(65.9%, 54.7%, 0%, 33.3%)
CIE-LABlab(36.19, 23.42, -52.25)
CIE-LCHlch(36.19, 57.26, 294.14°)
OKLaboklab(45.88% 0.0018 -0.1501)
OKLCHoklch(45.88% 0.15 270.7)
XYZxyz(11.6520, 9.1085, 39.1665)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4DAA #AA973A
analogous
#3A85AA #3A4DAA #5F3AAA
triadic
#3A4DAA #AA3A4D #4DAA3A
tetradic
#3A4DAA #AA3A85 #AA973A #3AAA5F
square
#3A4DAA #AA3A85 #AA973A #3AAA5F
split-complementary
#3A4DAA #AA5F3A #85AA3A
monochromatic
#1B244F #2A387C #3A4DAA #5A6DC7 #8895D6

Accessibility & contrast

On white

7.44
#3A4DAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#3A4DAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4DAA
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4DAA#FFFFFF#000000##FFFFFF
##3A4DAA1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#075AAD
Deuteranopia (green-blind)
#0050A8
Tritanopia (blue-blind)
#006374
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3a4daa;
/* rgb */ color: rgb(58, 77, 170);
/* oklch */ color: oklch(45.9% 0.150 270.7);
Tailwind
colors: {
  custom: {
    50: '#7d7ec4',
    500: '#3a4daa',
    950: '#000000',
  },
}
SCSS
$custom: #3a4daa;
$custom-light: #7d7ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4daa",
  "rgb": {
    "r": 58,
    "g": 77,
    "b": 170
  },
  "hsl": {
    "h": 229.821,
    "s": 49.123,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45883,
    "c": 0.15014,
    "h": 270.7
  },
  "luminance": 0.0911
}

Semantic roles & 50–950 ramp

primary
#3A4DAA
secondary
#C1B67F
accent
#C14FD9
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3A4DAA

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

Preview Lab → · Contrast checker → · Palette generator →

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