#3846B8#3846B8

#3846B8 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.6% C 0.179 H 271.8°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#3846B8
RGBrgb(56, 70, 184)
HSLhsl(233, 53%, 47%)
HSVhsv(233, 70%, 72%)
CMYKcmyk(69.6%, 62%, 0%, 27.8%)
CIE-LABlab(35.36, 32.68, -61.90)
CIE-LCHlch(35.36, 70.00, 297.83°)
OKLaboklab(45.57% 0.0058 -0.1786)
OKLCHoklch(45.57% 0.179 271.8)
XYZxyz(12.4699, 8.6806, 46.3565)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3846B8 #B8AA38
analogous
#3886B8 #3846B8 #6A38B8
triadic
#3846B8 #B83846 #46B838
tetradic
#3846B8 #B83886 #B8AA38 #38B86A
square
#3846B8 #B83886 #B8AA38 #38B86A
split-complementary
#3846B8 #B86A38 #86B838
monochromatic
#1B225A #2A3489 #3846B8 #5F6BCE #8E96DD

Accessibility & contrast

On white

7.67
#3846B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3846B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3846B8
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3846B8#FFFFFF#000000##FFFFFF
##3846B81.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BC
Deuteranopia (green-blind)
#004DB6
Tritanopia (blue-blind)
#006378
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3846b8;
/* rgb */ color: rgb(56, 70, 184);
/* oklch */ color: oklch(45.6% 0.179 271.8);
Tailwind
colors: {
  custom: {
    50: '#7f79ce',
    500: '#3846b8',
    950: '#000000',
  },
}
SCSS
$custom: #3846b8;
$custom-light: #7f79ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3846b8",
  "rgb": {
    "r": 56,
    "g": 70,
    "b": 184
  },
  "hsl": {
    "h": 233.438,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45574,
    "c": 0.17871,
    "h": 271.8
  },
  "luminance": 0.08682
}

Semantic roles & 50–950 ramp

primary
#3846B8
secondary
#C7C085
accent
#CD4BDD
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3846B8

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

Preview Lab → · Contrast checker → · Palette generator →

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