#3843C3#3843C3

#3843C3 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 46.0% C 0.197 H 272.1°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#3843C3
RGBrgb(56, 67, 195)
HSLhsl(235, 55%, 49%)
HSVhsv(235, 71%, 76%)
CMYKcmyk(71.3%, 65.6%, 0%, 23.5%)
CIE-LABlab(35.58, 38.43, -68.00)
CIE-LCHlch(35.58, 78.11, 299.48°)
OKLaboklab(46.03% 0.0072 -0.1965)
OKLCHoklch(46.03% 0.197 272.1)
XYZxyz(13.4850, 8.7938, 52.6059)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3843C3 #C3B838
analogous
#3889C3 #3843C3 #7338C3
triadic
#3843C3 #C33843 #43C338
tetradic
#3843C3 #C33889 #C3B838 #38C373
square
#3843C3 #C33889 #C3B838 #38C373
split-complementary
#3843C3 #C37338 #89C338
monochromatic
#1D2264 #2A3393 #3843C3 #656ED3 #959BE1

Accessibility & contrast

On white

7.61
#3843C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#3843C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3843C3
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3843C3#FFFFFF#000000##FFFFFF
##3843C31.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC7
Deuteranopia (green-blind)
#004DC1
Tritanopia (blue-blind)
#00657D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3843c3;
/* rgb */ color: rgb(56, 67, 195);
/* oklch */ color: oklch(46.0% 0.197 272.1);
Tailwind
colors: {
  custom: {
    50: '#8277d6',
    500: '#3843c3',
    950: '#000000',
  },
}
SCSS
$custom: #3843c3;
$custom-light: #8277d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3843c3",
  "rgb": {
    "r": 56,
    "g": 67,
    "b": 195
  },
  "hsl": {
    "h": 235.252,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.46028,
    "c": 0.19663,
    "h": 272.1
  },
  "luminance": 0.08795
}

Semantic roles & 50–950 ramp

primary
#3843C3
secondary
#CCC78B
accent
#D349DF
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3843C3

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

Preview Lab → · Contrast checker → · Palette generator →

#3843C3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva