#3848C0#3848C0

#3848C0 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.6% C 0.187 H 271.2°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#3848C0
RGBrgb(56, 72, 192)
HSLhsl(233, 55%, 49%)
HSVhsv(233, 71%, 75%)
CMYKcmyk(70.8%, 62.5%, 0%, 24.7%)
CIE-LABlab(36.52, 34.25, -64.71)
CIE-LCHlch(36.52, 73.22, 297.89°)
OKLaboklab(46.63% 0.004 -0.1868)
OKLCHoklch(46.63% 0.187 271.2)
XYZxyz(13.4595, 9.2799, 50.9408)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3848C0 #C0B038
analogous
#388CC0 #3848C0 #6C38C0
triadic
#3848C0 #C03848 #48C038
tetradic
#3848C0 #C0388C #C0B038 #38C06C
square
#3848C0 #C0388C #C0B038 #38C06C
split-complementary
#3848C0 #C06C38 #8CC038
monochromatic
#1C2461 #2A3691 #3848C0 #6470D2 #939CDF

Accessibility & contrast

On white

7.35
#3848C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#3848C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3848C0
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3848C0#FFFFFF#000000##FFFFFF
##3848C01.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC4
Deuteranopia (green-blind)
#0050BE
Tritanopia (blue-blind)
#00677D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3848c0;
/* rgb */ color: rgb(56, 72, 192);
/* oklch */ color: oklch(46.6% 0.187 271.2);
Tailwind
colors: {
  custom: {
    50: '#817bd4',
    500: '#3848c0',
    950: '#000000',
  },
}
SCSS
$custom: #3848c0;
$custom-light: #817bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#3848c0",
  "rgb": {
    "r": 56,
    "g": 72,
    "b": 192
  },
  "hsl": {
    "h": 232.941,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46633,
    "c": 0.18689,
    "h": 271.2
  },
  "luminance": 0.09281
}

Semantic roles & 50–950 ramp

primary
#3848C0
secondary
#CBC389
accent
#CD4ADE
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3848C0

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

Preview Lab → · Contrast checker → · Palette generator →

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