#3A48BF#3A48BF

#3A48BF is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.7% C 0.185 H 271.9°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#3A48BF
RGBrgb(58, 72, 191)
HSLhsl(234, 53%, 49%)
HSVhsv(234, 70%, 75%)
CMYKcmyk(69.6%, 62.3%, 0%, 25.1%)
CIE-LABlab(36.55, 34.15, -64.08)
CIE-LCHlch(36.55, 72.61, 298.05°)
OKLaboklab(46.66% 0.0061 -0.1849)
OKLCHoklch(46.66% 0.185 271.9)
XYZxyz(13.4631, 9.2946, 50.3646)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A48BF #BFB13A
analogous
#3A8BBF #3A48BF #6F3ABF
triadic
#3A48BF #BF3A48 #48BF3A
tetradic
#3A48BF #BF3A8B #BFB13A #3ABF6F
square
#3A48BF #BF3A8B #BFB13A #3ABF6F
split-complementary
#3A48BF #BF6F3A #8BBF3A
monochromatic
#1D2561 #2C3690 #3A48BF #6671D0 #959CDF

Accessibility & contrast

On white

7.34
#3A48BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#3A48BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A48BF
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A48BF#FFFFFF#000000##FFFFFF
##3A48BF1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC3
Deuteranopia (green-blind)
#0050BD
Tritanopia (blue-blind)
#00667D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3a48bf;
/* rgb */ color: rgb(58, 72, 191);
/* oklch */ color: oklch(46.7% 0.185 271.9);
Tailwind
colors: {
  custom: {
    50: '#817bd3',
    500: '#3a48bf',
    950: '#000000',
  },
}
SCSS
$custom: #3a48bf;
$custom-light: #817bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a48bf",
  "rgb": {
    "r": 58,
    "g": 72,
    "b": 191
  },
  "hsl": {
    "h": 233.684,
    "s": 53.414,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46657,
    "c": 0.18504,
    "h": 271.9
  },
  "luminance": 0.09296
}

Semantic roles & 50–950 ramp

primary
#3A48BF
secondary
#CAC38B
accent
#CD4BDD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3A48BF

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

Preview Lab → · Contrast checker → · Palette generator →

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