#3848AC#3848AC

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

Color values

HEX#3848AC
RGBrgb(56, 72, 172)
HSLhsl(232, 51%, 45%)
HSVhsv(232, 67%, 67%)
CMYKcmyk(67.4%, 58.1%, 0%, 32.5%)
CIE-LABlab(34.91, 27.09, -55.53)
CIE-LCHlch(34.91, 61.78, 296.00°)
OKLaboklab(44.94% 0.0042 -0.1599)
OKLCHoklch(44.94% 0.16 271.5)
XYZxyz(11.3921, 8.4530, 40.0530)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3848AC #AC9C38
analogous
#3882AC #3848AC #6238AC
triadic
#3848AC #AC3848 #48AC38
tetradic
#3848AC #AC3882 #AC9C38 #38AC62
square
#3848AC #AC3882 #AC9C38 #38AC62
split-complementary
#3848AC #AC6238 #82AC38
monochromatic
#1A2150 #29357E #3848AC #5868C9 #8792D8

Accessibility & contrast

On white

7.80
#3848AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#3848AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3848AC
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3848AC#FFFFFF#000000##FFFFFF
##3848AC1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AF
Deuteranopia (green-blind)
#004DAA
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3848ac;
/* rgb */ color: rgb(56, 72, 172);
/* oklch */ color: oklch(44.9% 0.160 271.5);
Tailwind
colors: {
  custom: {
    50: '#7c7ac5',
    500: '#3848ac',
    950: '#000000',
  },
}
SCSS
$custom: #3848ac;
$custom-light: #7c7ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#3848ac",
  "rgb": {
    "r": 56,
    "g": 72,
    "b": 172
  },
  "hsl": {
    "h": 231.724,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44939,
    "c": 0.15994,
    "h": 271.5
  },
  "luminance": 0.08454
}

Semantic roles & 50–950 ramp

primary
#3848AC
secondary
#C2B87E
accent
#C74DDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3848AC

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

Preview Lab → · Contrast checker → · Palette generator →

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