#3A48AB#3A48AB

#3A48AB is a dark, vivid blue. Relative luminance 0.085; OKLCH L 45.0% C 0.158 H 272.3°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#3A48AB
RGBrgb(58, 72, 171)
HSLhsl(233, 49%, 45%)
HSVhsv(233, 66%, 67%)
CMYKcmyk(66.1%, 57.9%, 0%, 32.9%)
CIE-LABlab(34.95, 27.04, -54.86)
CIE-LCHlch(34.95, 61.16, 296.24°)
OKLaboklab(44.98% 0.0064 -0.1579)
OKLCHoklch(44.98% 0.158 272.3)
XYZxyz(11.4105, 8.4735, 39.5544)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A48AB #AB9D3A
analogous
#3A81AB #3A48AB #643AAB
triadic
#3A48AB #AB3A48 #48AB3A
tetradic
#3A48AB #AB3A81 #AB9D3A #3AAB64
square
#3A48AB #AB3A81 #AB9D3A #3AAB64
split-complementary
#3A48AB #AB643A #81AB3A
monochromatic
#1B2250 #2A357D #3A48AB #5B68C7 #8992D7

Accessibility & contrast

On white

7.79
#3A48AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A48AB
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A48AB#FFFFFF#000000##FFFFFF
##3A48AB1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AE
Deuteranopia (green-blind)
#004DA9
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3a48ab;
/* rgb */ color: rgb(58, 72, 171);
/* oklch */ color: oklch(45.0% 0.158 272.3);
Tailwind
colors: {
  custom: {
    50: '#7d7ac5',
    500: '#3a48ab',
    950: '#000000',
  },
}
SCSS
$custom: #3a48ab;
$custom-light: #7d7ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a48ab",
  "rgb": {
    "r": 58,
    "g": 72,
    "b": 171
  },
  "hsl": {
    "h": 232.566,
    "s": 49.345,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44977,
    "c": 0.158,
    "h": 272.3
  },
  "luminance": 0.08475
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A48AB

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

Preview Lab → · Contrast checker → · Palette generator →

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