#3A48AC#3A48AC

#3A48AC is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.1% C 0.159 H 272.3°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#3A48AC
RGBrgb(58, 72, 172)
HSLhsl(233, 50%, 45%)
HSVhsv(233, 66%, 67%)
CMYKcmyk(66.3%, 58.1%, 0%, 32.5%)
CIE-LABlab(35.03, 27.40, -55.33)
CIE-LCHlch(35.03, 61.74, 296.34°)
OKLaboklab(45.06% 0.0064 -0.1592)
OKLCHoklch(45.06% 0.159 272.3)
XYZxyz(11.5062, 8.5118, 40.0583)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A48AC #AC9E3A
analogous
#3A81AC #3A48AC #653AAC
triadic
#3A48AC #AC3A48 #48AC3A
tetradic
#3A48AC #AC3A81 #AC9E3A #3AAC65
square
#3A48AC #AC3A81 #AC9E3A #3AAC65
split-complementary
#3A48AC #AC653A #81AC3A
monochromatic
#1B2250 #2B357E #3A48AC #5B69C8 #8993D7

Accessibility & contrast

On white

7.77
#3A48AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#3A48AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A48AC
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A48AC#FFFFFF#000000##FFFFFF
##3A48AC1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AF
Deuteranopia (green-blind)
#004DAA
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3a48ac;
/* rgb */ color: rgb(58, 72, 172);
/* oklch */ color: oklch(45.1% 0.159 272.3);
Tailwind
colors: {
  custom: {
    50: '#7d7ac5',
    500: '#3a48ac',
    950: '#000000',
  },
}
SCSS
$custom: #3a48ac;
$custom-light: #7d7ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a48ac",
  "rgb": {
    "r": 58,
    "g": 72,
    "b": 172
  },
  "hsl": {
    "h": 232.632,
    "s": 49.565,
    "l": 45.098
  },
  "oklch": {
    "l": 0.45058,
    "c": 0.15938,
    "h": 272.3
  },
  "luminance": 0.08513
}

Semantic roles & 50–950 ramp

primary
#3A48AC
secondary
#C2BA80
accent
#C84FD9
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3A48AC

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

Preview Lab → · Contrast checker → · Palette generator →

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