#3848B8#3848B8

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

Color values

HEX#3848B8
RGBrgb(56, 72, 184)
HSLhsl(233, 53%, 47%)
HSVhsv(233, 70%, 72%)
CMYKcmyk(69.6%, 60.9%, 0%, 27.8%)
CIE-LABlab(35.86, 31.40, -61.09)
CIE-LCHlch(35.86, 68.69, 297.20°)
OKLaboklab(45.94% 0.0042 -0.1762)
OKLCHoklch(45.94% 0.176 271.4)
XYZxyz(12.5971, 8.9350, 46.3989)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3848B8 #B8A838
analogous
#3888B8 #3848B8 #6838B8
triadic
#3848B8 #B83848 #48B838
tetradic
#3848B8 #B83888 #B8A838 #38B868
square
#3848B8 #B83888 #B8A838 #38B868
split-complementary
#3848B8 #B86838 #88B838
monochromatic
#1B235A #2A3689 #3848B8 #5F6DCE #8E98DD

Accessibility & contrast

On white

7.53
#3848B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#3848B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3848B8
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3848B8#FFFFFF#000000##FFFFFF
##3848B81.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABC
Deuteranopia (green-blind)
#004FB6
Tritanopia (blue-blind)
#006479
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3848b8;
/* rgb */ color: rgb(56, 72, 184);
/* oklch */ color: oklch(45.9% 0.176 271.4);
Tailwind
colors: {
  custom: {
    50: '#7f7bce',
    500: '#3848b8',
    950: '#000000',
  },
}
SCSS
$custom: #3848b8;
$custom-light: #7f7bce;
$custom-dark: #000000;
JSON
{
  "hex": "#3848b8",
  "rgb": {
    "r": 56,
    "g": 72,
    "b": 184
  },
  "hsl": {
    "h": 232.5,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45941,
    "c": 0.17627,
    "h": 271.4
  },
  "luminance": 0.08936
}

Semantic roles & 50–950 ramp

primary
#3848B8
secondary
#C7BF85
accent
#CB4BDD
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3848B8

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

Preview Lab → · Contrast checker → · Palette generator →

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