#3A48BB#3A48BB

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

Color values

HEX#3A48BB
RGBrgb(58, 72, 187)
HSLhsl(233, 53%, 48%)
HSVhsv(233, 69%, 73%)
CMYKcmyk(69%, 61.5%, 0%, 26.7%)
CIE-LABlab(36.22, 32.74, -62.27)
CIE-LCHlch(36.22, 70.35, 297.73°)
OKLaboklab(46.31% 0.0063 -0.1796)
OKLCHoklch(46.31% 0.18 272)
XYZxyz(13.0289, 9.1209, 48.0780)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A48BB #BBAD3A
analogous
#3A89BB #3A48BB #6C3ABB
triadic
#3A48BB #BB3A48 #48BB3A
tetradic
#3A48BB #BB3A89 #BBAD3A #3ABB6C
square
#3A48BB #BB3A89 #BBAD3A #3ABB6C
split-complementary
#3A48BB #BB6C3A #89BB3A
monochromatic
#1D245E #2C368C #3A48BB #636FCF #929ADD

Accessibility & contrast

On white

7.44
#3A48BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A48BB
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A48BB#FFFFFF#000000##FFFFFF
##3A48BB1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a48bb;
/* rgb */ color: rgb(58, 72, 187);
/* oklch */ color: oklch(46.3% 0.180 272.0);
Tailwind
colors: {
  custom: {
    50: '#817bd0',
    500: '#3a48bb',
    950: '#000000',
  },
}
SCSS
$custom: #3a48bb;
$custom-light: #817bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a48bb",
  "rgb": {
    "r": 58,
    "g": 72,
    "b": 187
  },
  "hsl": {
    "h": 233.488,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.46312,
    "c": 0.17974,
    "h": 272
  },
  "luminance": 0.09122
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A48BB

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

Preview Lab → · Contrast checker → · Palette generator →

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