#3A48BA#3A48BA

#3A48BA is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.2% C 0.178 H 272.0°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#3A48BA
RGBrgb(58, 72, 186)
HSLhsl(233, 52%, 48%)
HSVhsv(233, 69%, 73%)
CMYKcmyk(68.8%, 61.3%, 0%, 27.1%)
CIE-LABlab(36.13, 32.38, -61.81)
CIE-LCHlch(36.13, 69.78, 297.65°)
OKLaboklab(46.23% 0.0063 -0.1783)
OKLCHoklch(46.23% 0.178 272)
XYZxyz(12.9222, 9.0782, 47.5161)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A48BA #BAAC3A
analogous
#3A88BA #3A48BA #6C3ABA
triadic
#3A48BA #BA3A48 #48BA3A
tetradic
#3A48BA #BA3A88 #BAAC3A #3ABA6C
square
#3A48BA #BA3A88 #BAAC3A #3ABA6C
split-complementary
#3A48BA #BA6C3A #88BA3A
monochromatic
#1D245D #2B368B #3A48BA #636FCE #929ADD

Accessibility & contrast

On white

7.46
#3A48BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#3A48BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A48BA
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A48BA#FFFFFF#000000##FFFFFF
##3A48BA1.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#004FB8
Tritanopia (blue-blind)
#00657A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3a48ba;
/* rgb */ color: rgb(58, 72, 186);
/* oklch */ color: oklch(46.2% 0.178 272.0);
Tailwind
colors: {
  custom: {
    50: '#807bd0',
    500: '#3a48ba',
    950: '#000000',
  },
}
SCSS
$custom: #3a48ba;
$custom-light: #807bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a48ba",
  "rgb": {
    "r": 58,
    "g": 72,
    "b": 186
  },
  "hsl": {
    "h": 233.438,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.46226,
    "c": 0.17841,
    "h": 272
  },
  "luminance": 0.09079
}

Semantic roles & 50–950 ramp

primary
#3A48BA
secondary
#C8C188
accent
#CC4CDC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #3A48BA

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

Preview Lab → · Contrast checker → · Palette generator →

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