#3A4BAC#3A4BAC

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

Color values

HEX#3A4BAC
RGBrgb(58, 75, 172)
HSLhsl(231, 50%, 45%)
HSVhsv(231, 66%, 67%)
CMYKcmyk(66.3%, 56.4%, 0%, 32.5%)
CIE-LABlab(35.81, 25.45, -54.06)
CIE-LCHlch(35.81, 59.75, 295.20°)
OKLaboklab(45.64% 0.0037 -0.1555)
OKLCHoklch(45.64% 0.156 271.4)
XYZxyz(11.7049, 8.9092, 40.1245)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4BAC #AC9B3A
analogous
#3A84AC #3A4BAC #623AAC
triadic
#3A4BAC #AC3A4B #4BAC3A
tetradic
#3A4BAC #AC3A84 #AC9B3A #3AAC62
square
#3A4BAC #AC3A84 #AC9B3A #3AAC62
split-complementary
#3A4BAC #AC623A #84AC3A
monochromatic
#1B2350 #2B377E #3A4BAC #5B6CC8 #8995D7

Accessibility & contrast

On white

7.55
#3A4BAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A4BAC
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4BAC#FFFFFF#000000##FFFFFF
##3A4BAC1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAF
Deuteranopia (green-blind)
#004FAA
Tritanopia (blue-blind)
#006274
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3a4bac;
/* rgb */ color: rgb(58, 75, 172);
/* oklch */ color: oklch(45.6% 0.156 271.4);
Tailwind
colors: {
  custom: {
    50: '#7d7dc5',
    500: '#3a4bac',
    950: '#000000',
  },
}
SCSS
$custom: #3a4bac;
$custom-light: #7d7dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4bac",
  "rgb": {
    "r": 58,
    "g": 75,
    "b": 172
  },
  "hsl": {
    "h": 231.053,
    "s": 49.565,
    "l": 45.098
  },
  "oklch": {
    "l": 0.45642,
    "c": 0.15552,
    "h": 271.4
  },
  "luminance": 0.0891
}

Semantic roles & 50–950 ramp

primary
#3A4BAC
secondary
#C2B880
accent
#C44FD9
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3A4BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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