#3A48CA#3A48CA

#3A48CA is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.6% C 0.199 H 271.6°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#3A48CA
RGBrgb(58, 72, 202)
HSLhsl(234, 58%, 51%)
HSVhsv(234, 71%, 79%)
CMYKcmyk(71.3%, 64.4%, 0%, 20.8%)
CIE-LABlab(37.48, 38.01, -68.97)
CIE-LCHlch(37.48, 78.75, 298.86°)
OKLaboklab(47.63% 0.0056 -0.1993)
OKLCHoklch(47.63% 0.199 271.6)
XYZxyz(14.7193, 9.7971, 56.9810)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A48CA #CABC3A
analogous
#3A90CA #3A48CA #743ACA
triadic
#3A48CA #CA3A48 #48CA3A
tetradic
#3A48CA #CA3A90 #CABC3A #3ACA74
square
#3A48CA #CA3A90 #CABC3A #3ACA74
split-complementary
#3A48CA #CA743A #90CA3A
monochromatic
#1D256C #2A359D #3A48CA #6A75D7 #9AA2E4

Accessibility & contrast

On white

7.10
#3A48CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#3A48CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A48CA
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A48CA#FFFFFF#000000##FFFFFF
##3A48CA1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#0052C8
Tritanopia (blue-blind)
#006A82
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3a48ca;
/* rgb */ color: rgb(58, 72, 202);
/* oklch */ color: oklch(47.6% 0.199 271.6);
Tailwind
colors: {
  custom: {
    50: '#847bdb',
    500: '#3a48ca',
    950: '#000000',
  },
}
SCSS
$custom: #3a48ca;
$custom-light: #847bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a48ca",
  "rgb": {
    "r": 58,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 234.167,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.47627,
    "c": 0.19936,
    "h": 271.6
  },
  "luminance": 0.09799
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A48CA

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

Preview Lab → · Contrast checker → · Palette generator →

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