#3A48CB#3A48CB

#3A48CB is a mid, highly saturated blue. Relative luminance 0.098; OKLCH L 47.7% C 0.201 H 271.6°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#3A48CB
RGBrgb(58, 72, 203)
HSLhsl(234, 58%, 51%)
HSVhsv(234, 71%, 80%)
CMYKcmyk(71.4%, 64.5%, 0%, 20.4%)
CIE-LABlab(37.56, 38.35, -69.41)
CIE-LCHlch(37.56, 79.30, 298.92°)
OKLaboklab(47.72% 0.0055 -0.2006)
OKLCHoklch(47.72% 0.201 271.6)
XYZxyz(14.8381, 9.8446, 57.6065)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A48CB #CBBD3A
analogous
#3A90CB #3A48CB #743ACB
triadic
#3A48CB #CB3A48 #48CB3A
tetradic
#3A48CB #CB3A90 #CBBD3A #3ACB74
square
#3A48CB #CB3A90 #CBBD3A #3ACB74
split-complementary
#3A48CB #CB743A #90CB3A
monochromatic
#1D256E #2A359E #3A48CB #6A75D8 #9BA2E5

Accessibility & contrast

On white

7.07
#3A48CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#3A48CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A48CB
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A48CB#FFFFFF#000000##FFFFFF
##3A48CB1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCF
Deuteranopia (green-blind)
#0052C9
Tritanopia (blue-blind)
#006A83
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3a48cb;
/* rgb */ color: rgb(58, 72, 203);
/* oklch */ color: oklch(47.7% 0.201 271.6);
Tailwind
colors: {
  custom: {
    50: '#847bdc',
    500: '#3a48cb',
    950: '#000000',
  },
}
SCSS
$custom: #3a48cb;
$custom-light: #847bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a48cb",
  "rgb": {
    "r": 58,
    "g": 72,
    "b": 203
  },
  "hsl": {
    "h": 234.207,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.47717,
    "c": 0.20065,
    "h": 271.6
  },
  "luminance": 0.09846
}

Semantic roles & 50–950 ramp

primary
#3A48CB
secondary
#D0CA90
accent
#D246E1
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3A48CB

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

Preview Lab → · Contrast checker → · Palette generator →

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