#3846C8#3846C8

#3846C8 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 47.0% C 0.200 H 271.4°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#3846C8
RGBrgb(56, 70, 200)
HSLhsl(234, 57%, 50%)
HSVhsv(234, 72%, 78%)
CMYKcmyk(72%, 65%, 0%, 21.6%)
CIE-LABlab(36.72, 38.32, -69.04)
CIE-LCHlch(36.72, 78.96, 299.03°)
OKLaboklab(47% 0.0049 -0.1996)
OKLCHoklch(47% 0.2 271.4)
XYZxyz(14.2428, 9.3898, 55.6942)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3846C8 #C8BA38
analogous
#388EC8 #3846C8 #7238C8
triadic
#3846C8 #C83846 #46C838
tetradic
#3846C8 #C8388E #C8BA38 #38C872
square
#3846C8 #C8388E #C8BA38 #38C872
split-complementary
#3846C8 #C87238 #8EC838
monochromatic
#1D2469 #2A3599 #3846C8 #6873D5 #989FE3

Accessibility & contrast

On white

7.30
#3846C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#3846C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3846C8
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3846C8#FFFFFF#000000##FFFFFF
##3846C81.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCC
Deuteranopia (green-blind)
#0050C6
Tritanopia (blue-blind)
#006881
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3846c8;
/* rgb */ color: rgb(56, 70, 200);
/* oklch */ color: oklch(47.0% 0.200 271.4);
Tailwind
colors: {
  custom: {
    50: '#8379da',
    500: '#3846c8',
    950: '#000000',
  },
}
SCSS
$custom: #3846c8;
$custom-light: #8379da;
$custom-dark: #000000;
JSON
{
  "hex": "#3846c8",
  "rgb": {
    "r": 56,
    "g": 70,
    "b": 200
  },
  "hsl": {
    "h": 234.167,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.46995,
    "c": 0.19962,
    "h": 271.4
  },
  "luminance": 0.09391
}

Semantic roles & 50–950 ramp

primary
#3846C8
secondary
#CEC88E
accent
#D148E0
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3846C8

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

Preview Lab → · Contrast checker → · Palette generator →

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