#3848B5#3848B5

#3848B5 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.7% C 0.172 H 271.4°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#3848B5
RGBrgb(56, 72, 181)
HSLhsl(232, 53%, 46%)
HSVhsv(232, 69%, 71%)
CMYKcmyk(69.1%, 60.2%, 0%, 29%)
CIE-LABlab(35.62, 30.32, -59.72)
CIE-LCHlch(35.62, 66.97, 296.92°)
OKLaboklab(45.69% 0.0043 -0.1722)
OKLCHoklch(45.69% 0.172 271.4)
XYZxyz(12.2859, 8.8105, 44.7602)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3848B5 #B5A538
analogous
#3887B5 #3848B5 #6738B5
triadic
#3848B5 #B53848 #48B538
tetradic
#3848B5 #B53887 #B5A538 #38B567
square
#3848B5 #B53887 #B5A538 #38B567
split-complementary
#3848B5 #B56738 #87B538
monochromatic
#1B2358 #2A3586 #3848B5 #5D6CCD #8C96DB

Accessibility & contrast

On white

7.60
#3848B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#3848B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3848B5
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3848B5#FFFFFF#000000##FFFFFF
##3848B51.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#004EB3
Tritanopia (blue-blind)
#006377
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3848b5;
/* rgb */ color: rgb(56, 72, 181);
/* oklch */ color: oklch(45.7% 0.172 271.4);
Tailwind
colors: {
  custom: {
    50: '#7e7acc',
    500: '#3848b5',
    950: '#000000',
  },
}
SCSS
$custom: #3848b5;
$custom-light: #7e7acc;
$custom-dark: #000000;
JSON
{
  "hex": "#3848b5",
  "rgb": {
    "r": 56,
    "g": 72,
    "b": 181
  },
  "hsl": {
    "h": 232.32,
    "s": 52.743,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45687,
    "c": 0.17223,
    "h": 271.4
  },
  "luminance": 0.08812
}

Semantic roles & 50–950 ramp

primary
#3848B5
secondary
#C6BD83
accent
#CA4CDC
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3848B5

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

Preview Lab → · Contrast checker → · Palette generator →

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