#3A45AA#3A45AA

#3A45AA is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.3% C 0.160 H 273.2°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#3A45AA
RGBrgb(58, 69, 170)
HSLhsl(234, 49%, 45%)
HSVhsv(234, 66%, 67%)
CMYKcmyk(65.9%, 59.4%, 0%, 33.3%)
CIE-LABlab(34.10, 28.64, -55.64)
CIE-LCHlch(34.10, 62.58, 297.23°)
OKLaboklab(44.32% 0.009 -0.1602)
OKLCHoklch(44.32% 0.16 273.2)
XYZxyz(11.1263, 8.0571, 38.9912)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A45AA #AA9F3A
analogous
#3A7DAA #3A45AA #673AAA
triadic
#3A45AA #AA3A45 #45AA3A
tetradic
#3A45AA #AA3A7D #AA9F3A #3AAA67
square
#3A45AA #AA3A7D #AA9F3A #3AAA67
split-complementary
#3A45AA #AA673A #7DAA3A
monochromatic
#1B204F #2A327C #3A45AA #5A65C7 #8890D6

Accessibility & contrast

On white

8.04
#3A45AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#3A45AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A45AA
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A45AA#FFFFFF#000000##FFFFFF
##3A45AA1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#004BA8
Tritanopia (blue-blind)
#005E70
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3a45aa;
/* rgb */ color: rgb(58, 69, 170);
/* oklch */ color: oklch(44.3% 0.160 273.2);
Tailwind
colors: {
  custom: {
    50: '#7d78c4',
    500: '#3a45aa',
    950: '#000000',
  },
}
SCSS
$custom: #3a45aa;
$custom-light: #7d78c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a45aa",
  "rgb": {
    "r": 58,
    "g": 69,
    "b": 170
  },
  "hsl": {
    "h": 234.107,
    "s": 49.123,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44321,
    "c": 0.16045,
    "h": 273.2
  },
  "luminance": 0.08058
}

Semantic roles & 50–950 ramp

primary
#3A45AA
secondary
#C1BA7F
accent
#CB4FD9
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3A45AA

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

Preview Lab → · Contrast checker → · Palette generator →

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