#3848B7#3848B7

#3848B7 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.9% C 0.175 H 271.4°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#3848B7
RGBrgb(56, 72, 183)
HSLhsl(232, 53%, 47%)
HSVhsv(232, 69%, 72%)
CMYKcmyk(69.4%, 60.7%, 0%, 28.2%)
CIE-LABlab(35.78, 31.04, -60.63)
CIE-LCHlch(35.78, 68.12, 297.11°)
OKLaboklab(45.86% 0.0042 -0.1749)
OKLCHoklch(45.86% 0.175 271.4)
XYZxyz(12.4926, 8.8932, 45.8488)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3848B7 #B7A738
analogous
#3888B7 #3848B7 #6838B7
triadic
#3848B7 #B73848 #48B738
tetradic
#3848B7 #B73888 #B7A738 #38B768
square
#3848B7 #B73888 #B7A738 #38B768
split-complementary
#3848B7 #B76838 #88B738
monochromatic
#1B2359 #2A3688 #3848B7 #5E6CCE #8D97DC

Accessibility & contrast

On white

7.56
#3848B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#3848B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3848B7
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3848B7#FFFFFF#000000##FFFFFF
##3848B71.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABB
Deuteranopia (green-blind)
#004EB5
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3848b7;
/* rgb */ color: rgb(56, 72, 183);
/* oklch */ color: oklch(45.9% 0.175 271.4);
Tailwind
colors: {
  custom: {
    50: '#7f7bcd',
    500: '#3848b7',
    950: '#000000',
  },
}
SCSS
$custom: #3848b7;
$custom-light: #7f7bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#3848b7",
  "rgb": {
    "r": 56,
    "g": 72,
    "b": 183
  },
  "hsl": {
    "h": 232.441,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45856,
    "c": 0.17493,
    "h": 271.4
  },
  "luminance": 0.08894
}

Semantic roles & 50–950 ramp

primary
#3848B7
secondary
#C7BE84
accent
#CA4BDD
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3848B7

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

Preview Lab → · Contrast checker → · Palette generator →

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