#3849AD#3849AD

#3849AD is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.2% C 0.160 H 271.2°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#3849AD
RGBrgb(56, 73, 173)
HSLhsl(231, 51%, 45%)
HSVhsv(231, 68%, 68%)
CMYKcmyk(67.6%, 57.8%, 0%, 32.2%)
CIE-LABlab(35.25, 26.80, -55.58)
CIE-LCHlch(35.25, 61.70, 295.74°)
OKLaboklab(45.21% 0.0034 -0.16)
OKLCHoklch(45.21% 0.16 271.2)
XYZxyz(11.5537, 8.6219, 40.5824)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3849AD #AD9C38
analogous
#3884AD #3849AD #6138AD
triadic
#3849AD #AD3849 #49AD38
tetradic
#3849AD #AD3884 #AD9C38 #38AD61
square
#3849AD #AD3884 #AD9C38 #38AD61
split-complementary
#3849AD #AD6138 #84AD38
monochromatic
#1A2251 #29357F #3849AD #5969C9 #8793D8

Accessibility & contrast

On white

7.71
#3849AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#3849AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3849AD
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3849AD#FFFFFF#000000##FFFFFF
##3849AD1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B0
Deuteranopia (green-blind)
#004EAB
Tritanopia (blue-blind)
#006174
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3849ad;
/* rgb */ color: rgb(56, 73, 173);
/* oklch */ color: oklch(45.2% 0.160 271.2);
Tailwind
colors: {
  custom: {
    50: '#7d7bc6',
    500: '#3849ad',
    950: '#000000',
  },
}
SCSS
$custom: #3849ad;
$custom-light: #7d7bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#3849ad",
  "rgb": {
    "r": 56,
    "g": 73,
    "b": 173
  },
  "hsl": {
    "h": 231.282,
    "s": 51.092,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45214,
    "c": 0.16005,
    "h": 271.2
  },
  "luminance": 0.08623
}

Semantic roles & 50–950 ramp

primary
#3849AD
secondary
#C2B87F
accent
#C64DDB
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3849AD

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

Preview Lab → · Contrast checker → · Palette generator →

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