#3848AE#3848AE

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

Color values

HEX#3848AE
RGBrgb(56, 72, 174)
HSLhsl(232, 51%, 45%)
HSVhsv(232, 68%, 68%)
CMYKcmyk(67.8%, 58.6%, 0%, 31.8%)
CIE-LABlab(35.06, 27.81, -56.47)
CIE-LCHlch(35.06, 62.94, 296.22°)
OKLaboklab(45.1% 0.0043 -0.1626)
OKLCHoklch(45.1% 0.163 271.5)
XYZxyz(11.5857, 8.5304, 41.0722)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3848AE #AE9E38
analogous
#3883AE #3848AE #6338AE
triadic
#3848AE #AE3848 #48AE38
tetradic
#3848AE #AE3883 #AE9E38 #38AE63
square
#3848AE #AE3883 #AE9E38 #38AE63
split-complementary
#3848AE #AE6338 #83AE38
monochromatic
#1A2251 #293580 #3848AE #5969CA #8893D9

Accessibility & contrast

On white

7.76
#3848AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#3848AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3848AE#FFFFFF#000000##FFFFFF
##3848AE1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B1
Deuteranopia (green-blind)
#004DAC
Tritanopia (blue-blind)
#006174
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3848ae;
/* rgb */ color: rgb(56, 72, 174);
/* oklch */ color: oklch(45.1% 0.163 271.5);
Tailwind
colors: {
  custom: {
    50: '#7d7ac7',
    500: '#3848ae',
    950: '#000000',
  },
}
SCSS
$custom: #3848ae;
$custom-light: #7d7ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#3848ae",
  "rgb": {
    "r": 56,
    "g": 72,
    "b": 174
  },
  "hsl": {
    "h": 231.864,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.45103,
    "c": 0.1627,
    "h": 271.5
  },
  "luminance": 0.08531
}

Semantic roles & 50–950 ramp

primary
#3848AE
secondary
#C3BA7F
accent
#C84DDB
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3848AE

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

Preview Lab → · Contrast checker → · Palette generator →

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