#3848AB#3848AB

#3848AB is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.9% C 0.159 H 271.5°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#3848AB
RGBrgb(56, 72, 171)
HSLhsl(232, 51%, 45%)
HSVhsv(232, 67%, 67%)
CMYKcmyk(67.3%, 57.9%, 0%, 32.9%)
CIE-LABlab(34.83, 26.73, -55.06)
CIE-LCHlch(34.83, 61.20, 295.89°)
OKLaboklab(44.86% 0.0042 -0.1585)
OKLCHoklch(44.86% 0.159 271.5)
XYZxyz(11.2965, 8.4147, 39.5491)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3848AB #AB9B38
analogous
#3882AB #3848AB #6238AB
triadic
#3848AB #AB3848 #48AB38
tetradic
#3848AB #AB3882 #AB9B38 #38AB62
square
#3848AB #AB3882 #AB9B38 #38AB62
split-complementary
#3848AB #AB6238 #82AB38
monochromatic
#1A214F #29357D #3848AB #5868C8 #8691D7

Accessibility & contrast

On white

7.83
#3848AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3848AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3848AB
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3848AB#FFFFFF#000000##FFFFFF
##3848AB1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AE
Deuteranopia (green-blind)
#004DA9
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3848ab;
/* rgb */ color: rgb(56, 72, 171);
/* oklch */ color: oklch(44.9% 0.159 271.5);
Tailwind
colors: {
  custom: {
    50: '#7c7ac5',
    500: '#3848ab',
    950: '#000000',
  },
}
SCSS
$custom: #3848ab;
$custom-light: #7c7ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#3848ab",
  "rgb": {
    "r": 56,
    "g": 72,
    "b": 171
  },
  "hsl": {
    "h": 231.652,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.44857,
    "c": 0.15855,
    "h": 271.5
  },
  "luminance": 0.08416
}

Semantic roles & 50–950 ramp

primary
#3848AB
secondary
#C1B87D
accent
#C74EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3848AB

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

Preview Lab → · Contrast checker → · Palette generator →

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