#3848CA#3848CA

#3848CA is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.5% C 0.200 H 271.0°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#3848CA
RGBrgb(56, 72, 202)
HSLhsl(233, 58%, 51%)
HSVhsv(233, 72%, 79%)
CMYKcmyk(72.3%, 64.4%, 0%, 20.8%)
CIE-LABlab(37.37, 37.77, -69.15)
CIE-LCHlch(37.37, 78.80, 298.65°)
OKLaboklab(47.52% 0.0035 -0.1998)
OKLCHoklch(47.52% 0.2 271)
XYZxyz(14.6053, 9.7383, 56.9756)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3848CA #CABA38
analogous
#3891CA #3848CA #7138CA
triadic
#3848CA #CA3848 #48CA38
tetradic
#3848CA #CA3891 #CABA38 #38CA71
square
#3848CA #CA3891 #CABA38 #38CA71
split-complementary
#3848CA #CA7138 #91CA38
monochromatic
#1D256B #29369B #3848CA #6874D7 #99A1E4

Accessibility & contrast

On white

7.12
#3848CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#3848CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3848CA
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3848CA#FFFFFF#000000##FFFFFF
##3848CA1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3848ca;
/* rgb */ color: rgb(56, 72, 202);
/* oklch */ color: oklch(47.5% 0.200 271.0);
Tailwind
colors: {
  custom: {
    50: '#837bdb',
    500: '#3848ca',
    950: '#000000',
  },
}
SCSS
$custom: #3848ca;
$custom-light: #837bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#3848ca",
  "rgb": {
    "r": 56,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 233.425,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.4752,
    "c": 0.19988,
    "h": 271
  },
  "luminance": 0.0974
}

Semantic roles & 50–950 ramp

primary
#3848CA
secondary
#CFC88E
accent
#D047E1
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3848CA

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

Preview Lab → · Contrast checker → · Palette generator →

#3848CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva