#3848D4#3848D4

#3848D4 is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 48.4% C 0.213 H 270.8°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#3848D4
RGBrgb(56, 72, 212)
HSLhsl(234, 64%, 53%)
HSVhsv(234, 74%, 83%)
CMYKcmyk(73.6%, 66%, 0%, 16.9%)
CIE-LABlab(38.25, 41.26, -73.49)
CIE-LCHlch(38.25, 84.28, 299.31°)
OKLaboklab(48.43% 0.0028 -0.2126)
OKLCHoklch(48.43% 0.213 270.8)
XYZxyz(15.8279, 10.2273, 63.4145)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3848D4 #D4C438
analogous
#3896D4 #3848D4 #7638D4
triadic
#3848D4 #D43848 #48D438
tetradic
#3848D4 #D43896 #D4C438 #38D476
square
#3848D4 #D43896 #D4C438 #38D476
split-complementary
#3848D4 #D47638 #96D438
monochromatic
#1A2378 #2532AA #3848D4 #6A76DF #9DA5EA

Accessibility & contrast

On white

6.89
#3848D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#3848D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3848D4
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3848D4#FFFFFF#000000##FFFFFF
##3848D41.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D8
Deuteranopia (green-blind)
#0053D1
Tritanopia (blue-blind)
#006D88
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3848d4;
/* rgb */ color: rgb(56, 72, 212);
/* oklch */ color: oklch(48.4% 0.213 270.8);
Tailwind
colors: {
  custom: {
    50: '#857be2',
    500: '#3848d4',
    950: '#000000',
  },
}
SCSS
$custom: #3848d4;
$custom-light: #857be2;
$custom-dark: #000000;
JSON
{
  "hex": "#3848d4",
  "rgb": {
    "r": 56,
    "g": 72,
    "b": 212
  },
  "hsl": {
    "h": 233.846,
    "s": 64.463,
    "l": 52.549
  },
  "oklch": {
    "l": 0.48431,
    "c": 0.21258,
    "h": 270.8
  },
  "luminance": 0.10229
}

Semantic roles & 50–950 ramp

primary
#3848D4
secondary
#D6CF92
accent
#D640E7
background
#F9F7FE
surface
#F1EEFC
border
#CBC9D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #3848D4

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

Preview Lab → · Contrast checker → · Palette generator →

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