#3A4AAF#3A4AAF

#3A4AAF is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.7% C 0.161 H 271.7°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#3A4AAF
RGBrgb(58, 74, 175)
HSLhsl(232, 50%, 46%)
HSVhsv(232, 67%, 69%)
CMYKcmyk(66.9%, 57.7%, 0%, 31.4%)
CIE-LABlab(35.77, 27.17, -55.90)
CIE-LCHlch(35.77, 62.16, 295.92°)
OKLaboklab(45.69% 0.0047 -0.1609)
OKLCHoklch(45.69% 0.161 271.7)
XYZxyz(11.9290, 8.8912, 41.6366)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4AAF #AF9F3A
analogous
#3A84AF #3A4AAF #643AAF
triadic
#3A4AAF #AF3A4A #4AAF3A
tetradic
#3A4AAF #AF3A84 #AF9F3A #3AAF64
square
#3A4AAF #AF3A84 #AF9F3A #3AAF64
split-complementary
#3A4AAF #AF643A #84AF3A
monochromatic
#1C2353 #2B3781 #3A4AAF #5D6CC9 #8B95D9

Accessibility & contrast

On white

7.56
#3A4AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#3A4AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4AAF
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4AAF#FFFFFF#000000##FFFFFF
##3A4AAF1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB2
Deuteranopia (green-blind)
#004FAD
Tritanopia (blue-blind)
#006375
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3a4aaf;
/* rgb */ color: rgb(58, 74, 175);
/* oklch */ color: oklch(45.7% 0.161 271.7);
Tailwind
colors: {
  custom: {
    50: '#7e7cc8',
    500: '#3a4aaf',
    950: '#000000',
  },
}
SCSS
$custom: #3a4aaf;
$custom-light: #7e7cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4aaf",
  "rgb": {
    "r": 58,
    "g": 74,
    "b": 175
  },
  "hsl": {
    "h": 231.795,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.45687,
    "c": 0.16097,
    "h": 271.7
  },
  "luminance": 0.08892
}

Semantic roles & 50–950 ramp

primary
#3A4AAF
secondary
#C3BA82
accent
#C74EDA
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3A4AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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