#3846B0#3846B0

#3846B0 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.9% C 0.168 H 272.0°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#3846B0
RGBrgb(56, 70, 176)
HSLhsl(233, 52%, 45%)
HSVhsv(233, 68%, 69%)
CMYKcmyk(68.2%, 60.2%, 0%, 31%)
CIE-LABlab(34.71, 29.82, -58.23)
CIE-LCHlch(34.71, 65.42, 297.12°)
OKLaboklab(44.89% 0.0059 -0.1678)
OKLCHoklch(44.89% 0.168 272)
XYZxyz(11.6549, 8.3546, 42.0643)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3846B0 #B0A238
analogous
#3882B0 #3846B0 #6638B0
triadic
#3846B0 #B03846 #46B038
tetradic
#3846B0 #B03882 #B0A238 #38B066
square
#3846B0 #B03882 #B0A238 #38B066
split-complementary
#3846B0 #B06638 #82B038
monochromatic
#1A2153 #293482 #3846B0 #5B68CB #8992D9

Accessibility & contrast

On white

7.86
#3846B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3846B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3846B0
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3846B0#FFFFFF#000000##FFFFFF
##3846B01.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B4
Deuteranopia (green-blind)
#004CAE
Tritanopia (blue-blind)
#006074
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3846b0;
/* rgb */ color: rgb(56, 70, 176);
/* oklch */ color: oklch(44.9% 0.168 272.0);
Tailwind
colors: {
  custom: {
    50: '#7d79c8',
    500: '#3846b0',
    950: '#000000',
  },
}
SCSS
$custom: #3846b0;
$custom-light: #7d79c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3846b0",
  "rgb": {
    "r": 56,
    "g": 70,
    "b": 176
  },
  "hsl": {
    "h": 233,
    "s": 51.724,
    "l": 45.49
  },
  "oklch": {
    "l": 0.4489,
    "c": 0.16794,
    "h": 272
  },
  "luminance": 0.08356
}

Semantic roles & 50–950 ramp

primary
#3846B0
secondary
#C4BC80
accent
#CB4DDB
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3846B0

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

Preview Lab → · Contrast checker → · Palette generator →

#3846B0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva