#3849AB#3849AB

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

Color values

HEX#3849AB
RGBrgb(56, 73, 171)
HSLhsl(231, 51%, 45%)
HSVhsv(231, 67%, 67%)
CMYKcmyk(67.3%, 57.3%, 0%, 32.9%)
CIE-LABlab(35.09, 26.07, -54.63)
CIE-LCHlch(35.09, 60.54, 295.51°)
OKLaboklab(45.05% 0.0033 -0.1572)
OKLCHoklch(45.05% 0.157 271.2)
XYZxyz(11.3616, 8.5451, 39.5708)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3849AB #AB9A38
analogous
#3883AB #3849AB #6038AB
triadic
#3849AB #AB3849 #49AB38
tetradic
#3849AB #AB3883 #AB9A38 #38AB60
square
#3849AB #AB3883 #AB9A38 #38AB60
split-complementary
#3849AB #AB6038 #83AB38
monochromatic
#1A224F #29357D #3849AB #5869C8 #8692D7

Accessibility & contrast

On white

7.75
#3849AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#3849AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3849AB
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3849AB#FFFFFF#000000##FFFFFF
##3849AB1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3849ab;
/* rgb */ color: rgb(56, 73, 171);
/* oklch */ color: oklch(45.1% 0.157 271.2);
Tailwind
colors: {
  custom: {
    50: '#7c7bc5',
    500: '#3849ab',
    950: '#000000',
  },
}
SCSS
$custom: #3849ab;
$custom-light: #7c7bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3849ab",
  "rgb": {
    "r": 56,
    "g": 73,
    "b": 171
  },
  "hsl": {
    "h": 231.13,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45052,
    "c": 0.15727,
    "h": 271.2
  },
  "luminance": 0.08546
}

Semantic roles & 50–950 ramp

primary
#3849AB
secondary
#C1B77D
accent
#C54EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3849AB

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

Preview Lab → · Contrast checker → · Palette generator →

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