#3846B3#3846B3

#3846B3 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.1% C 0.172 H 272.0°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#3846B3
RGBrgb(56, 70, 179)
HSLhsl(233, 52%, 46%)
HSVhsv(233, 69%, 70%)
CMYKcmyk(68.7%, 60.9%, 0%, 29.8%)
CIE-LABlab(34.95, 30.90, -59.62)
CIE-LCHlch(34.95, 67.15, 297.40°)
OKLaboklab(45.14% 0.0059 -0.1719)
OKLCHoklch(45.14% 0.172 272)
XYZxyz(11.9550, 8.4746, 43.6448)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3846B3 #B3A538
analogous
#3883B3 #3846B3 #6738B3
triadic
#3846B3 #B33846 #46B338
tetradic
#3846B3 #B33883 #B3A538 #38B367
square
#3846B3 #B33883 #B3A538 #38B367
split-complementary
#3846B3 #B36738 #83B338
monochromatic
#1B2256 #293484 #3846B3 #5C69CC #8B94DB

Accessibility & contrast

On white

7.79
#3846B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#3846B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3846B3
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3846B3#FFFFFF#000000##FFFFFF
##3846B31.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#004DB1
Tritanopia (blue-blind)
#006176
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3846b3;
/* rgb */ color: rgb(56, 70, 179);
/* oklch */ color: oklch(45.1% 0.172 272.0);
Tailwind
colors: {
  custom: {
    50: '#7e79cb',
    500: '#3846b3',
    950: '#000000',
  },
}
SCSS
$custom: #3846b3;
$custom-light: #7e79cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3846b3",
  "rgb": {
    "r": 56,
    "g": 70,
    "b": 179
  },
  "hsl": {
    "h": 233.171,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.45144,
    "c": 0.17201,
    "h": 272
  },
  "luminance": 0.08476
}

Semantic roles & 50–950 ramp

primary
#3846B3
secondary
#C5BD82
accent
#CB4CDC
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3846B3

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

Preview Lab → · Contrast checker → · Palette generator →

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