#3A5AAA#3A5AAA

#3A5AAA is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.6% C 0.133 H 265.4°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#3A5AAA
RGBrgb(58, 90, 170)
HSLhsl(223, 49%, 45%)
HSVhsv(223, 66%, 67%)
CMYKcmyk(65.9%, 47.1%, 0%, 33.3%)
CIE-LABlab(39.77, 14.92, -46.49)
CIE-LCHlch(39.77, 48.82, 287.80°)
OKLaboklab(48.6% -0.0108 -0.133)
OKLCHoklch(48.6% 0.133 265.4)
XYZxyz(12.6543, 11.1130, 39.5006)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5AAA #AA8A3A
analogous
#3A92AA #3A5AAA #523AAA
triadic
#3A5AAA #AA3A5A #5AAA3A
tetradic
#3A5AAA #AA3A92 #AA8A3A #3AAA52
square
#3A5AAA #AA3A92 #AA8A3A #3AAA52
split-complementary
#3A5AAA #AA523A #92AA3A
monochromatic
#1B2A4F #2A427C #3A5AAA #5A79C7 #889ED6

Accessibility & contrast

On white

6.52
#3A5AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#3A5AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5AAA
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5AAA#FFFFFF#000000##FFFFFF
##3A5AAA1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3263AD
Deuteranopia (green-blind)
#1C59A8
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3a5aaa;
/* rgb */ color: rgb(58, 90, 170);
/* oklch */ color: oklch(48.6% 0.133 265.4);
Tailwind
colors: {
  custom: {
    50: '#7c88c4',
    500: '#3a5aaa',
    950: '#000000',
  },
}
SCSS
$custom: #3a5aaa;
$custom-light: #7c88c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5aaa",
  "rgb": {
    "r": 58,
    "g": 90,
    "b": 170
  },
  "hsl": {
    "h": 222.857,
    "s": 49.123,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48597,
    "c": 0.13342,
    "h": 265.4
  },
  "luminance": 0.11114
}

Semantic roles & 50–950 ramp

primary
#3A5AAA
secondary
#C1AE7F
accent
#B14FD9
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #3A5AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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