#3A48B9#3A48B9

#3A48B9 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.1% C 0.177 H 272.0°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#3A48B9
RGBrgb(58, 72, 185)
HSLhsl(233, 52%, 48%)
HSVhsv(233, 69%, 73%)
CMYKcmyk(68.6%, 61.1%, 0%, 27.5%)
CIE-LABlab(36.05, 32.03, -61.36)
CIE-LCHlch(36.05, 69.22, 297.56°)
OKLaboklab(46.14% 0.0063 -0.177)
OKLCHoklch(46.14% 0.177 272)
XYZxyz(12.8163, 9.0358, 46.9582)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A48B9 #B9AB3A
analogous
#3A87B9 #3A48B9 #6C3AB9
triadic
#3A48B9 #B93A48 #48B93A
tetradic
#3A48B9 #B93A87 #B9AB3A #3AB96C
square
#3A48B9 #B93A87 #B9AB3A #3AB96C
split-complementary
#3A48B9 #B96C3A #87B93A
monochromatic
#1D245C #2B368A #3A48B9 #626ECE #9199DC

Accessibility & contrast

On white

7.48
#3A48B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#3A48B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A48B9
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A48B9#FFFFFF#000000##FFFFFF
##3A48B91.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBD
Deuteranopia (green-blind)
#004FB7
Tritanopia (blue-blind)
#006479
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3a48b9;
/* rgb */ color: rgb(58, 72, 185);
/* oklch */ color: oklch(46.1% 0.177 272.0);
Tailwind
colors: {
  custom: {
    50: '#807bcf',
    500: '#3a48b9',
    950: '#000000',
  },
}
SCSS
$custom: #3a48b9;
$custom-light: #807bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a48b9",
  "rgb": {
    "r": 58,
    "g": 72,
    "b": 185
  },
  "hsl": {
    "h": 233.386,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.46141,
    "c": 0.17707,
    "h": 272
  },
  "luminance": 0.09037
}

Semantic roles & 50–950 ramp

primary
#3A48B9
secondary
#C7C087
accent
#CC4CDC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3A48B9

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

Preview Lab → · Contrast checker → · Palette generator →

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