#3846CD#3846CD

#3846CD is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 47.5% C 0.206 H 271.3°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#3846CD
RGBrgb(56, 70, 205)
HSLhsl(234, 60%, 51%)
HSVhsv(234, 73%, 80%)
CMYKcmyk(72.7%, 65.9%, 0%, 19.6%)
CIE-LABlab(37.16, 40.06, -71.22)
CIE-LCHlch(37.16, 81.72, 299.35°)
OKLaboklab(47.45% 0.0046 -0.2059)
OKLCHoklch(47.45% 0.206 271.3)
XYZxyz(14.8368, 9.6273, 58.8221)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3846CD #CDBF38
analogous
#3890CD #3846CD #7438CD
triadic
#3846CD #CD3846 #46CD38
tetradic
#3846CD #CD3890 #CDBF38 #38CD74
square
#3846CD #CD3890 #CDBF38 #38CD74
split-complementary
#3846CD #CD7438 #90CD38
monochromatic
#1C246F #2833A0 #3846CD #6973D9 #9AA1E6

Accessibility & contrast

On white

7.18
#3846CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#3846CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3846CD
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3846CD#FFFFFF#000000##FFFFFF
##3846CD1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD1
Deuteranopia (green-blind)
#0050CA
Tritanopia (blue-blind)
#006A83
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3846cd;
/* rgb */ color: rgb(56, 70, 205);
/* oklch */ color: oklch(47.5% 0.206 271.3);
Tailwind
colors: {
  custom: {
    50: '#847add',
    500: '#3846cd',
    950: '#000000',
  },
}
SCSS
$custom: #3846cd;
$custom-light: #847add;
$custom-dark: #000000;
JSON
{
  "hex": "#3846cd",
  "rgb": {
    "r": 56,
    "g": 70,
    "b": 205
  },
  "hsl": {
    "h": 234.362,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.47452,
    "c": 0.20598,
    "h": 271.3
  },
  "luminance": 0.09629
}

Semantic roles & 50–950 ramp

primary
#3846CD
secondary
#D1CB8F
accent
#D445E3
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3846CD

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

Preview Lab → · Contrast checker → · Palette generator →

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