#3A4CAE#3A4CAE

#3A4CAE is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.0% C 0.157 H 271.0°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#3A4CAE
RGBrgb(58, 76, 174)
HSLhsl(231, 50%, 45%)
HSVhsv(231, 67%, 68%)
CMYKcmyk(66.7%, 56.3%, 0%, 31.8%)
CIE-LABlab(36.22, 25.51, -54.58)
CIE-LCHlch(36.22, 60.25, 295.05°)
OKLaboklab(46% 0.0029 -0.157)
OKLCHoklch(46% 0.157 271)
XYZxyz(11.9668, 9.1233, 41.1665)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4CAE #AE9C3A
analogous
#3A86AE #3A4CAE #623AAE
triadic
#3A4CAE #AE3A4C #4CAE3A
tetradic
#3A4CAE #AE3A86 #AE9C3A #3AAE62
square
#3A4CAE #AE3A86 #AE9C3A #3AAE62
split-complementary
#3A4CAE #AE623A #86AE3A
monochromatic
#1B2452 #2B3880 #3A4CAE #5C6DC9 #8A96D8

Accessibility & contrast

On white

7.43
#3A4CAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A4CAE
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4CAE#FFFFFF#000000##FFFFFF
##3A4CAE1.007.432.827.43
#FFFFFF7.431.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB1
Deuteranopia (green-blind)
#0050AC
Tritanopia (blue-blind)
#006475
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3a4cae;
/* rgb */ color: rgb(58, 76, 174);
/* oklch */ color: oklch(46.0% 0.157 271.0);
Tailwind
colors: {
  custom: {
    50: '#7e7dc7',
    500: '#3a4cae',
    950: '#000000',
  },
}
SCSS
$custom: #3a4cae;
$custom-light: #7e7dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4cae",
  "rgb": {
    "r": 58,
    "g": 76,
    "b": 174
  },
  "hsl": {
    "h": 230.69,
    "s": 50,
    "l": 45.49
  },
  "oklch": {
    "l": 0.45997,
    "c": 0.15703,
    "h": 271
  },
  "luminance": 0.09124
}

Semantic roles & 50–950 ramp

primary
#3A4CAE
secondary
#C2B881
accent
#C44EDA
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3A4CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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