#3A4FAB#3A4FAB

#3A4FAB is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.4% C 0.149 H 270.0°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#3A4FAB
RGBrgb(58, 79, 171)
HSLhsl(229, 49%, 45%)
HSVhsv(229, 66%, 67%)
CMYKcmyk(66.1%, 53.8%, 0%, 32.9%)
CIE-LABlab(36.80, 22.47, -51.86)
CIE-LCHlch(36.80, 56.52, 293.42°)
OKLaboklab(46.36% 0 -0.149)
OKLCHoklch(46.36% 0.149 270)
XYZxyz(11.8891, 9.4307, 39.7139)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4FAB #AB963A
analogous
#3A87AB #3A4FAB #5E3AAB
triadic
#3A4FAB #AB3A4F #4FAB3A
tetradic
#3A4FAB #AB3A87 #AB963A #3AAB5E
square
#3A4FAB #AB3A87 #AB963A #3AAB5E
split-complementary
#3A4FAB #AB5E3A #87AB3A
monochromatic
#1B2550 #2A3A7D #3A4FAB #5B6FC7 #8997D7

Accessibility & contrast

On white

7.28
#3A4FAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#3A4FAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4FAB
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4FAB#FFFFFF#000000##FFFFFF
##3A4FAB1.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105CAE
Deuteranopia (green-blind)
#0052A9
Tritanopia (blue-blind)
#006575
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3a4fab;
/* rgb */ color: rgb(58, 79, 171);
/* oklch */ color: oklch(46.4% 0.149 270.0);
Tailwind
colors: {
  custom: {
    50: '#7d80c5',
    500: '#3a4fab',
    950: '#000000',
  },
}
SCSS
$custom: #3a4fab;
$custom-light: #7d80c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4fab",
  "rgb": {
    "r": 58,
    "g": 79,
    "b": 171
  },
  "hsl": {
    "h": 228.85,
    "s": 49.345,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46363,
    "c": 0.14896,
    "h": 270
  },
  "luminance": 0.09432
}

Semantic roles & 50–950 ramp

primary
#3A4FAB
secondary
#C1B580
accent
#BF4FD9
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3A4FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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