#3848AD#3848AD

#3848AD is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.0% C 0.161 H 271.5°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#3848AD
RGBrgb(56, 72, 173)
HSLhsl(232, 51%, 45%)
HSVhsv(232, 68%, 68%)
CMYKcmyk(67.6%, 58.4%, 0%, 32.2%)
CIE-LABlab(34.99, 27.45, -56.00)
CIE-LCHlch(34.99, 62.36, 296.11°)
OKLaboklab(45.02% 0.0042 -0.1613)
OKLCHoklch(45.02% 0.161 271.5)
XYZxyz(11.4885, 8.4915, 40.5607)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3848AD #AD9D38
analogous
#3882AD #3848AD #6338AD
triadic
#3848AD #AD3848 #48AD38
tetradic
#3848AD #AD3882 #AD9D38 #38AD63
square
#3848AD #AD3882 #AD9D38 #38AD63
split-complementary
#3848AD #AD6338 #82AD38
monochromatic
#1A2251 #29357F #3848AD #5968C9 #8792D8

Accessibility & contrast

On white

7.78
#3848AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#3848AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3848AD#FFFFFF#000000##FFFFFF
##3848AD1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B0
Deuteranopia (green-blind)
#004DAB
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3848ad;
/* rgb */ color: rgb(56, 72, 173);
/* oklch */ color: oklch(45.0% 0.161 271.5);
Tailwind
colors: {
  custom: {
    50: '#7d7ac6',
    500: '#3848ad',
    950: '#000000',
  },
}
SCSS
$custom: #3848ad;
$custom-light: #7d7ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#3848ad",
  "rgb": {
    "r": 56,
    "g": 72,
    "b": 173
  },
  "hsl": {
    "h": 231.795,
    "s": 51.092,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45021,
    "c": 0.16132,
    "h": 271.5
  },
  "luminance": 0.08493
}

Semantic roles & 50–950 ramp

primary
#3848AD
secondary
#C2B97F
accent
#C74DDB
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3848AD

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

Preview Lab → · Contrast checker → · Palette generator →

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