#3843B2#3843B2

#3843B2 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.5% C 0.174 H 272.7°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#3843B2
RGBrgb(56, 67, 178)
HSLhsl(235, 52%, 46%)
HSVhsv(235, 69%, 70%)
CMYKcmyk(68.5%, 62.4%, 0%, 30.2%)
CIE-LABlab(34.12, 32.47, -60.37)
CIE-LCHlch(34.12, 68.55, 298.27°)
OKLaboklab(44.51% 0.0083 -0.1742)
OKLCHoklch(44.51% 0.174 272.7)
XYZxyz(11.6712, 8.0683, 43.0531)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3843B2 #B2A738
analogous
#3880B2 #3843B2 #6A38B2
triadic
#3843B2 #B23843 #43B238
tetradic
#3843B2 #B23880 #B2A738 #38B26A
square
#3843B2 #B23880 #B2A738 #38B26A
split-complementary
#3843B2 #B26A38 #80B238
monochromatic
#1B2055 #293183 #3843B2 #5C66CC #8A91DA

Accessibility & contrast

On white

8.03
#3843B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#3843B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3843B2
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3843B2#FFFFFF#000000##FFFFFF
##3843B21.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#004BB0
Tritanopia (blue-blind)
#005F74
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3843b2;
/* rgb */ color: rgb(56, 67, 178);
/* oklch */ color: oklch(44.5% 0.174 272.7);
Tailwind
colors: {
  custom: {
    50: '#7e77ca',
    500: '#3843b2',
    950: '#000000',
  },
}
SCSS
$custom: #3843b2;
$custom-light: #7e77ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3843b2",
  "rgb": {
    "r": 56,
    "g": 67,
    "b": 178
  },
  "hsl": {
    "h": 234.59,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44508,
    "c": 0.17436,
    "h": 272.7
  },
  "luminance": 0.08069
}

Semantic roles & 50–950 ramp

primary
#3843B2
secondary
#C5BE81
accent
#CF4CDC
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3843B2

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

Preview Lab → · Contrast checker → · Palette generator →

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