#3843C4#3843C4

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

Color values

HEX#3843C4
RGBrgb(56, 67, 196)
HSLhsl(235, 56%, 49%)
HSVhsv(235, 71%, 77%)
CMYKcmyk(71.4%, 65.8%, 0%, 23.1%)
CIE-LABlab(35.67, 38.78, -68.44)
CIE-LCHlch(35.67, 78.66, 299.54°)
OKLaboklab(46.12% 0.0072 -0.1978)
OKLCHoklch(46.12% 0.198 272.1)
XYZxyz(13.5985, 8.8392, 53.2033)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3843C4 #C4B938
analogous
#3889C4 #3843C4 #7338C4
triadic
#3843C4 #C43843 #43C438
tetradic
#3843C4 #C43889 #C4B938 #38C473
square
#3843C4 #C43889 #C4B938 #38C473
split-complementary
#3843C4 #C47338 #89C438
monochromatic
#1D2265 #2A3394 #3843C4 #666FD3 #969BE1

Accessibility & contrast

On white

7.59
#3843C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#3843C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3843C4
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3843C4#FFFFFF#000000##FFFFFF
##3843C41.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3843c4;
/* rgb */ color: rgb(56, 67, 196);
/* oklch */ color: oklch(46.1% 0.198 272.1);
Tailwind
colors: {
  custom: {
    50: '#8277d7',
    500: '#3843c4',
    950: '#000000',
  },
}
SCSS
$custom: #3843c4;
$custom-light: #8277d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3843c4",
  "rgb": {
    "r": 56,
    "g": 67,
    "b": 196
  },
  "hsl": {
    "h": 235.286,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.4612,
    "c": 0.19792,
    "h": 272.1
  },
  "luminance": 0.08841
}

Semantic roles & 50–950 ramp

primary
#3843C4
secondary
#CCC78C
accent
#D349DF
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3843C4

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

Preview Lab → · Contrast checker → · Palette generator →

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