#3A48B3#3A48B3

#3A48B3 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.6% C 0.169 H 272.2°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#3A48B3
RGBrgb(58, 72, 179)
HSLhsl(233, 51%, 46%)
HSVhsv(233, 68%, 70%)
CMYKcmyk(67.6%, 59.8%, 0%, 29.8%)
CIE-LABlab(35.57, 29.90, -58.60)
CIE-LCHlch(35.57, 65.79, 297.03°)
OKLaboklab(45.64% 0.0064 -0.1689)
OKLCHoklch(45.64% 0.169 272.2)
XYZxyz(12.1962, 8.7878, 43.6926)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A48B3 #B3A53A
analogous
#3A85B3 #3A48B3 #693AB3
triadic
#3A48B3 #B33A48 #48B33A
tetradic
#3A48B3 #B33A85 #B3A53A #3AB369
square
#3A48B3 #B33A85 #B3A53A #3AB369
split-complementary
#3A48B3 #B3693A #85B33A
monochromatic
#1C2357 #2B3585 #3A48B3 #5F6CCB #8D96DA

Accessibility & contrast

On white

7.61
#3A48B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#3A48B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A48B3
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A48B3#FFFFFF#000000##FFFFFF
##3A48B31.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#004EB1
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3a48b3;
/* rgb */ color: rgb(58, 72, 179);
/* oklch */ color: oklch(45.6% 0.169 272.2);
Tailwind
colors: {
  custom: {
    50: '#7f7bcb',
    500: '#3a48b3',
    950: '#000000',
  },
}
SCSS
$custom: #3a48b3;
$custom-light: #7f7bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a48b3",
  "rgb": {
    "r": 58,
    "g": 72,
    "b": 179
  },
  "hsl": {
    "h": 233.058,
    "s": 51.055,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45635,
    "c": 0.16898,
    "h": 272.2
  },
  "luminance": 0.08789
}

Semantic roles & 50–950 ramp

primary
#3A48B3
secondary
#C5BD84
accent
#CA4DDB
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3A48B3

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

Preview Lab → · Contrast checker → · Palette generator →

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