#3848B1#3848B1

#3848B1 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.4% C 0.167 H 271.5°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#3848B1
RGBrgb(56, 72, 177)
HSLhsl(232, 52%, 46%)
HSVhsv(232, 68%, 69%)
CMYKcmyk(68.4%, 59.3%, 0%, 30.6%)
CIE-LABlab(35.30, 28.89, -57.87)
CIE-LCHlch(35.30, 64.68, 296.53°)
OKLaboklab(45.35% 0.0043 -0.1667)
OKLCHoklch(45.35% 0.167 271.5)
XYZxyz(11.8814, 8.6487, 42.6297)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3848B1 #B1A138
analogous
#3884B1 #3848B1 #6438B1
triadic
#3848B1 #B13848 #48B138
tetradic
#3848B1 #B13884 #B1A138 #38B164
square
#3848B1 #B13884 #B1A138 #38B164
split-complementary
#3848B1 #B16438 #84B138
monochromatic
#1B2254 #293583 #3848B1 #5B6ACB #8A94DA

Accessibility & contrast

On white

7.69
#3848B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#3848B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3848B1
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3848B1#FFFFFF#000000##FFFFFF
##3848B11.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B5
Deuteranopia (green-blind)
#004EAF
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3848b1;
/* rgb */ color: rgb(56, 72, 177);
/* oklch */ color: oklch(45.4% 0.167 271.5);
Tailwind
colors: {
  custom: {
    50: '#7e7ac9',
    500: '#3848b1',
    950: '#000000',
  },
}
SCSS
$custom: #3848b1;
$custom-light: #7e7ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#3848b1",
  "rgb": {
    "r": 56,
    "g": 72,
    "b": 177
  },
  "hsl": {
    "h": 232.066,
    "s": 51.931,
    "l": 45.686
  },
  "oklch": {
    "l": 0.45351,
    "c": 0.1668,
    "h": 271.5
  },
  "luminance": 0.0865
}

Semantic roles & 50–950 ramp

primary
#3848B1
secondary
#C4BB81
accent
#C84CDB
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3848B1

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

Preview Lab → · Contrast checker → · Palette generator →

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