#3848AA#3848AA

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

Color values

HEX#3848AA
RGBrgb(56, 72, 170)
HSLhsl(232, 50%, 44%)
HSVhsv(232, 67%, 67%)
CMYKcmyk(67.1%, 57.6%, 0%, 33.3%)
CIE-LABlab(34.76, 26.37, -54.59)
CIE-LCHlch(34.76, 60.62, 295.78°)
OKLaboklab(44.78% 0.0042 -0.1571)
OKLCHoklch(44.78% 0.157 271.5)
XYZxyz(11.2015, 8.3767, 39.0490)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3848AA #AA9A38
analogous
#3881AA #3848AA #6138AA
triadic
#3848AA #AA3848 #48AA38
tetradic
#3848AA #AA3881 #AA9A38 #38AA61
square
#3848AA #AA3881 #AA9A38 #38AA61
split-complementary
#3848AA #AA6138 #81AA38
monochromatic
#1A214E #29357C #3848AA #5767C8 #8591D7

Accessibility & contrast

On white

7.85
#3848AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##3848AA#FFFFFF#000000##FFFFFF
##3848AA1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3848aa;
/* rgb */ color: rgb(56, 72, 170);
/* oklch */ color: oklch(44.8% 0.157 271.5);
Tailwind
colors: {
  custom: {
    50: '#7c7ac4',
    500: '#3848aa',
    950: '#000000',
  },
}
SCSS
$custom: #3848aa;
$custom-light: #7c7ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#3848aa",
  "rgb": {
    "r": 56,
    "g": 72,
    "b": 170
  },
  "hsl": {
    "h": 231.579,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44776,
    "c": 0.15717,
    "h": 271.5
  },
  "luminance": 0.08378
}

Semantic roles & 50–950 ramp

primary
#3848AA
secondary
#C1B77D
accent
#C64EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3848AA

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

Preview Lab → · Contrast checker → · Palette generator →

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