#3848CD#3848CD

#3848CD is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 47.8% C 0.204 H 270.9°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#3848CD
RGBrgb(56, 72, 205)
HSLhsl(234, 60%, 51%)
HSVhsv(234, 73%, 80%)
CMYKcmyk(72.7%, 64.9%, 0%, 19.6%)
CIE-LABlab(37.63, 38.82, -70.46)
CIE-LCHlch(37.63, 80.45, 298.85°)
OKLaboklab(47.79% 0.0033 -0.2037)
OKLCHoklch(47.79% 0.204 270.9)
XYZxyz(14.9639, 9.8817, 58.8645)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3848CD #CDBD38
analogous
#3892CD #3848CD #7238CD
triadic
#3848CD #CD3848 #48CD38
tetradic
#3848CD #CD3892 #CDBD38 #38CD72
square
#3848CD #CD3892 #CDBD38 #38CD72
split-complementary
#3848CD #CD7238 #92CD38
monochromatic
#1C256F #2835A0 #3848CD #6975D9 #9AA2E6

Accessibility & contrast

On white

7.06
#3848CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#3848CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3848CD
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3848CD#FFFFFF#000000##FFFFFF
##3848CD1.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D1
Deuteranopia (green-blind)
#0052CA
Tritanopia (blue-blind)
#006B84
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3848cd;
/* rgb */ color: rgb(56, 72, 205);
/* oklch */ color: oklch(47.8% 0.204 270.9);
Tailwind
colors: {
  custom: {
    50: '#847bdd',
    500: '#3848cd',
    950: '#000000',
  },
}
SCSS
$custom: #3848cd;
$custom-light: #847bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#3848cd",
  "rgb": {
    "r": 56,
    "g": 72,
    "b": 205
  },
  "hsl": {
    "h": 233.557,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.47791,
    "c": 0.20373,
    "h": 270.9
  },
  "luminance": 0.09883
}

Semantic roles & 50–950 ramp

primary
#3848CD
secondary
#D1CA8F
accent
#D245E3
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3848CD

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

Preview Lab → · Contrast checker → · Palette generator →

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