#3843C1#3843C1

#3843C1 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.8% C 0.194 H 272.2°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#3843C1
RGBrgb(56, 67, 193)
HSLhsl(235, 55%, 49%)
HSVhsv(235, 71%, 76%)
CMYKcmyk(71%, 65.3%, 0%, 24.3%)
CIE-LABlab(35.41, 37.74, -67.12)
CIE-LCHlch(35.41, 77.00, 299.35°)
OKLaboklab(45.85% 0.0074 -0.1939)
OKLCHoklch(45.85% 0.194 272.2)
XYZxyz(13.2604, 8.7040, 51.4229)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3843C1 #C1B638
analogous
#3888C1 #3843C1 #7238C1
triadic
#3843C1 #C13843 #43C138
tetradic
#3843C1 #C13888 #C1B638 #38C172
square
#3843C1 #C13888 #C1B638 #38C172
split-complementary
#3843C1 #C17238 #88C138
monochromatic
#1C2262 #2A3392 #3843C1 #646DD2 #949AE0

Accessibility & contrast

On white

7.66
#3843C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3843C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3843C1
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3843C1#FFFFFF#000000##FFFFFF
##3843C11.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC5
Deuteranopia (green-blind)
#004DBF
Tritanopia (blue-blind)
#00647C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3843c1;
/* rgb */ color: rgb(56, 67, 193);
/* oklch */ color: oklch(45.8% 0.194 272.2);
Tailwind
colors: {
  custom: {
    50: '#8177d5',
    500: '#3843c1',
    950: '#000000',
  },
}
SCSS
$custom: #3843c1;
$custom-light: #8177d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3843c1",
  "rgb": {
    "r": 56,
    "g": 67,
    "b": 193
  },
  "hsl": {
    "h": 235.182,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45845,
    "c": 0.19406,
    "h": 272.2
  },
  "luminance": 0.08705
}

Semantic roles & 50–950 ramp

primary
#3843C1
secondary
#CBC68A
accent
#D249DE
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3843C1

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

Preview Lab → · Contrast checker → · Palette generator →

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