#3848A2#3848A2

#3848A2 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.1% C 0.146 H 271.5°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#3848A2
RGBrgb(56, 72, 162)
HSLhsl(231, 49%, 43%)
HSVhsv(231, 65%, 64%)
CMYKcmyk(65.4%, 55.6%, 0%, 36.5%)
CIE-LABlab(34.16, 23.48, -50.77)
CIE-LCHlch(34.16, 55.93, 294.82°)
OKLaboklab(44.14% 0.0039 -0.1459)
OKLCHoklch(44.14% 0.146 271.5)
XYZxyz(10.4676, 8.0832, 35.1840)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3848A2 #A29238
analogous
#387DA2 #3848A2 #5D38A2
triadic
#3848A2 #A23848 #48A238
tetradic
#3848A2 #A2387D #A29238 #38A25D
square
#3848A2 #A2387D #A29238 #38A25D
split-complementary
#3848A2 #A25D38 #7DA238
monochromatic
#192047 #283475 #3848A2 #5364C4 #818DD3

Accessibility & contrast

On white

8.03
#3848A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#3848A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3848A2
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3848A2#FFFFFF#000000##FFFFFF
##3848A21.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0155A5
Deuteranopia (green-blind)
#004CA0
Tritanopia (blue-blind)
#005D6E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3848a2;
/* rgb */ color: rgb(56, 72, 162);
/* oklch */ color: oklch(44.1% 0.146 271.5);
Tailwind
colors: {
  custom: {
    50: '#7a7abe',
    500: '#3848a2',
    950: '#000000',
  },
}
SCSS
$custom: #3848a2;
$custom-light: #7a7abe;
$custom-dark: #000000;
JSON
{
  "hex": "#3848a2",
  "rgb": {
    "r": 56,
    "g": 72,
    "b": 162
  },
  "hsl": {
    "h": 230.943,
    "s": 48.624,
    "l": 42.745
  },
  "oklch": {
    "l": 0.44137,
    "c": 0.14593,
    "h": 271.5
  },
  "luminance": 0.08084
}

Semantic roles & 50–950 ramp

primary
#3848A2
secondary
#BDB379
accent
#C450D8
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3848A2

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

Preview Lab → · Contrast checker → · Palette generator →

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