#3A4BAE#3A4BAE

#3A4BAE is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.8% C 0.158 H 271.4°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#3A4BAE
RGBrgb(58, 75, 174)
HSLhsl(231, 50%, 45%)
HSVhsv(231, 67%, 68%)
CMYKcmyk(66.7%, 56.9%, 0%, 31.8%)
CIE-LABlab(35.96, 26.16, -55.01)
CIE-LCHlch(35.96, 60.91, 295.44°)
OKLaboklab(45.8% 0.0038 -0.1583)
OKLCHoklch(45.8% 0.158 271.4)
XYZxyz(11.8984, 8.9866, 41.1437)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4BAE #AE9D3A
analogous
#3A85AE #3A4BAE #633AAE
triadic
#3A4BAE #AE3A4B #4BAE3A
tetradic
#3A4BAE #AE3A85 #AE9D3A #3AAE63
square
#3A4BAE #AE3A85 #AE9D3A #3AAE63
split-complementary
#3A4BAE #AE633A #85AE3A
monochromatic
#1B2352 #2B3780 #3A4BAE #5C6CC9 #8A96D8

Accessibility & contrast

On white

7.51
#3A4BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#3A4BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4BAE
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4BAE#FFFFFF#000000##FFFFFF
##3A4BAE1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a4bae;
/* rgb */ color: rgb(58, 75, 174);
/* oklch */ color: oklch(45.8% 0.158 271.4);
Tailwind
colors: {
  custom: {
    50: '#7e7dc7',
    500: '#3a4bae',
    950: '#000000',
  },
}
SCSS
$custom: #3a4bae;
$custom-light: #7e7dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4bae",
  "rgb": {
    "r": 58,
    "g": 75,
    "b": 174
  },
  "hsl": {
    "h": 231.207,
    "s": 50,
    "l": 45.49
  },
  "oklch": {
    "l": 0.45801,
    "c": 0.1583,
    "h": 271.4
  },
  "luminance": 0.08988
}

Semantic roles & 50–950 ramp

primary
#3A4BAE
secondary
#C2B981
accent
#C54EDA
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3A4BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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