#3848B6#3848B6

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

Color values

HEX#3848B6
RGBrgb(56, 72, 182)
HSLhsl(232, 53%, 47%)
HSVhsv(232, 69%, 71%)
CMYKcmyk(69.2%, 60.4%, 0%, 28.6%)
CIE-LABlab(35.70, 30.68, -60.18)
CIE-LCHlch(35.70, 67.55, 297.02°)
OKLaboklab(45.77% 0.0043 -0.1735)
OKLCHoklch(45.77% 0.174 271.4)
XYZxyz(12.3889, 8.8517, 45.3025)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3848B6 #B6A638
analogous
#3887B6 #3848B6 #6738B6
triadic
#3848B6 #B63848 #48B638
tetradic
#3848B6 #B63887 #B6A638 #38B667
square
#3848B6 #B63887 #B6A638 #38B667
split-complementary
#3848B6 #B66738 #87B638
monochromatic
#1B2358 #2A3587 #3848B6 #5E6CCD #8D97DC

Accessibility & contrast

On white

7.58
#3848B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#3848B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3848B6
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3848B6#FFFFFF#000000##FFFFFF
##3848B61.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3848b6;
/* rgb */ color: rgb(56, 72, 182);
/* oklch */ color: oklch(45.8% 0.174 271.4);
Tailwind
colors: {
  custom: {
    50: '#7f7bcd',
    500: '#3848b6',
    950: '#000000',
  },
}
SCSS
$custom: #3848b6;
$custom-light: #7f7bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#3848b6",
  "rgb": {
    "r": 56,
    "g": 72,
    "b": 182
  },
  "hsl": {
    "h": 232.381,
    "s": 52.941,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45771,
    "c": 0.17358,
    "h": 271.4
  },
  "luminance": 0.08853
}

Semantic roles & 50–950 ramp

primary
#3848B6
secondary
#C6BE84
accent
#CA4BDC
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3848B6

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

Preview Lab → · Contrast checker → · Palette generator →

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