#3A4BAD#3A4BAD

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

Color values

HEX#3A4BAD
RGBrgb(58, 75, 173)
HSLhsl(231, 50%, 45%)
HSVhsv(231, 66%, 68%)
CMYKcmyk(66.5%, 56.6%, 0%, 32.2%)
CIE-LABlab(35.88, 25.80, -54.54)
CIE-LCHlch(35.88, 60.33, 295.32°)
OKLaboklab(45.72% 0.0037 -0.1569)
OKLCHoklch(45.72% 0.157 271.4)
XYZxyz(11.8013, 8.9478, 40.6322)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4BAD #AD9C3A
analogous
#3A85AD #3A4BAD #623AAD
triadic
#3A4BAD #AD3A4B #4BAD3A
tetradic
#3A4BAD #AD3A85 #AD9C3A #3AAD62
square
#3A4BAD #AD3A85 #AD9C3A #3AAD62
split-complementary
#3A4BAD #AD623A #85AD3A
monochromatic
#1B2351 #2B377F #3A4BAD #5C6CC8 #8A95D8

Accessibility & contrast

On white

7.53
#3A4BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#3A4BAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4BAD
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4BAD#FFFFFF#000000##FFFFFF
##3A4BAD1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB0
Deuteranopia (green-blind)
#004FAB
Tritanopia (blue-blind)
#006374
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3a4bad;
/* rgb */ color: rgb(58, 75, 173);
/* oklch */ color: oklch(45.7% 0.157 271.4);
Tailwind
colors: {
  custom: {
    50: '#7d7dc6',
    500: '#3a4bad',
    950: '#000000',
  },
}
SCSS
$custom: #3a4bad;
$custom-light: #7d7dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4bad",
  "rgb": {
    "r": 58,
    "g": 75,
    "b": 173
  },
  "hsl": {
    "h": 231.13,
    "s": 49.784,
    "l": 45.294
  },
  "oklch": {
    "l": 0.45721,
    "c": 0.15692,
    "h": 271.4
  },
  "luminance": 0.08949
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A4BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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