#3848B2#3848B2

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

Color values

HEX#3848B2
RGBrgb(56, 72, 178)
HSLhsl(232, 52%, 46%)
HSVhsv(232, 69%, 70%)
CMYKcmyk(68.5%, 59.6%, 0%, 30.2%)
CIE-LABlab(35.38, 29.25, -58.33)
CIE-LCHlch(35.38, 65.25, 296.63°)
OKLaboklab(45.43% 0.0043 -0.1681)
OKLCHoklch(45.43% 0.168 271.5)
XYZxyz(11.9814, 8.6887, 43.1565)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3848B2 #B2A238
analogous
#3885B2 #3848B2 #6538B2
triadic
#3848B2 #B23848 #48B238
tetradic
#3848B2 #B23885 #B2A238 #38B265
square
#3848B2 #B23885 #B2A238 #38B265
split-complementary
#3848B2 #B26538 #85B238
monochromatic
#1B2255 #293583 #3848B2 #5C6ACC #8A95DA

Accessibility & contrast

On white

7.67
#3848B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3848B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3848B2
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3848B2#FFFFFF#000000##FFFFFF
##3848B21.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#004EB0
Tritanopia (blue-blind)
#006276
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3848b2;
/* rgb */ color: rgb(56, 72, 178);
/* oklch */ color: oklch(45.4% 0.168 271.5);
Tailwind
colors: {
  custom: {
    50: '#7e7aca',
    500: '#3848b2',
    950: '#000000',
  },
}
SCSS
$custom: #3848b2;
$custom-light: #7e7aca;
$custom-dark: #000000;
JSON
{
  "hex": "#3848b2",
  "rgb": {
    "r": 56,
    "g": 72,
    "b": 178
  },
  "hsl": {
    "h": 232.131,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.45435,
    "c": 0.16816,
    "h": 271.5
  },
  "luminance": 0.0869
}

Semantic roles & 50–950 ramp

primary
#3848B2
secondary
#C5BC81
accent
#C94CDC
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3848B2

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

Preview Lab → · Contrast checker → · Palette generator →

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