#3849AC#3849AC

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

Color values

HEX#3849AC
RGBrgb(56, 73, 172)
HSLhsl(231, 51%, 45%)
HSVhsv(231, 67%, 67%)
CMYKcmyk(67.4%, 57.6%, 0%, 32.5%)
CIE-LABlab(35.17, 26.44, -55.11)
CIE-LCHlch(35.17, 61.12, 295.63°)
OKLaboklab(45.13% 0.0034 -0.1586)
OKLCHoklch(45.13% 0.159 271.2)
XYZxyz(11.4573, 8.5833, 40.0747)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3849AC #AC9B38
analogous
#3883AC #3849AC #6138AC
triadic
#3849AC #AC3849 #49AC38
tetradic
#3849AC #AC3883 #AC9B38 #38AC61
square
#3849AC #AC3883 #AC9B38 #38AC61
split-complementary
#3849AC #AC6138 #83AC38
monochromatic
#1A2250 #29357E #3849AC #5869C9 #8793D8

Accessibility & contrast

On white

7.73
#3849AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3849AC
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3849AC#FFFFFF#000000##FFFFFF
##3849AC1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AF
Deuteranopia (green-blind)
#004EAA
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3849ac;
/* rgb */ color: rgb(56, 73, 172);
/* oklch */ color: oklch(45.1% 0.159 271.2);
Tailwind
colors: {
  custom: {
    50: '#7c7bc5',
    500: '#3849ac',
    950: '#000000',
  },
}
SCSS
$custom: #3849ac;
$custom-light: #7c7bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3849ac",
  "rgb": {
    "r": 56,
    "g": 73,
    "b": 172
  },
  "hsl": {
    "h": 231.207,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45133,
    "c": 0.15866,
    "h": 271.2
  },
  "luminance": 0.08584
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3849AC

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

Preview Lab → · Contrast checker → · Palette generator →

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