#3A48B8#3A48B8

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

Color values

HEX#3A48B8
RGBrgb(58, 72, 184)
HSLhsl(233, 52%, 47%)
HSVhsv(233, 68%, 72%)
CMYKcmyk(68.5%, 60.9%, 0%, 27.8%)
CIE-LABlab(35.97, 31.67, -60.90)
CIE-LCHlch(35.97, 68.65, 297.48°)
OKLaboklab(46.06% 0.0063 -0.1756)
OKLCHoklch(46.06% 0.176 272.1)
XYZxyz(12.7111, 8.9938, 46.4042)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A48B8 #B8AA3A
analogous
#3A87B8 #3A48B8 #6B3AB8
triadic
#3A48B8 #B83A48 #48B83A
tetradic
#3A48B8 #B83A87 #B8AA3A #3AB86B
square
#3A48B8 #B83A87 #B8AA3A #3AB86B
split-complementary
#3A48B8 #B86B3A #87B83A
monochromatic
#1D245B #2B3689 #3A48B8 #626ECD #9099DC

Accessibility & contrast

On white

7.50
#3A48B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#3A48B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A48B8
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A48B8#FFFFFF#000000##FFFFFF
##3A48B81.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a48b8;
/* rgb */ color: rgb(58, 72, 184);
/* oklch */ color: oklch(46.1% 0.176 272.1);
Tailwind
colors: {
  custom: {
    50: '#807bce',
    500: '#3a48b8',
    950: '#000000',
  },
}
SCSS
$custom: #3a48b8;
$custom-light: #807bce;
$custom-dark: #000000;
JSON
{
  "hex": "#3a48b8",
  "rgb": {
    "r": 58,
    "g": 72,
    "b": 184
  },
  "hsl": {
    "h": 233.333,
    "s": 52.066,
    "l": 47.451
  },
  "oklch": {
    "l": 0.46056,
    "c": 0.17573,
    "h": 272.1
  },
  "luminance": 0.08995
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A48B8

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

Preview Lab → · Contrast checker → · Palette generator →

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