#3843B7#3843B7

#3843B7 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.9% C 0.181 H 272.5°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#3843B7
RGBrgb(56, 67, 183)
HSLhsl(235, 53%, 47%)
HSVhsv(235, 69%, 72%)
CMYKcmyk(69.4%, 63.4%, 0%, 28.2%)
CIE-LABlab(34.54, 34.23, -62.65)
CIE-LCHlch(34.54, 71.39, 298.65°)
OKLaboklab(44.95% 0.008 -0.1808)
OKLCHoklch(44.95% 0.181 272.5)
XYZxyz(12.1824, 8.2728, 45.7454)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3843B7 #B7AC38
analogous
#3883B7 #3843B7 #6D38B7
triadic
#3843B7 #B73843 #43B738
tetradic
#3843B7 #B73883 #B7AC38 #38B76D
square
#3843B7 #B73883 #B7AC38 #38B76D
split-complementary
#3843B7 #B76D38 #83B738
monochromatic
#1B2159 #2A3288 #3843B7 #5E68CE #8D94DC

Accessibility & contrast

On white

7.91
#3843B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3843B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3843B7
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3843B7#FFFFFF#000000##FFFFFF
##3843B71.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BB
Deuteranopia (green-blind)
#004BB5
Tritanopia (blue-blind)
#006177
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3843b7;
/* rgb */ color: rgb(56, 67, 183);
/* oklch */ color: oklch(44.9% 0.181 272.5);
Tailwind
colors: {
  custom: {
    50: '#7f77ce',
    500: '#3843b7',
    950: '#000000',
  },
}
SCSS
$custom: #3843b7;
$custom-light: #7f77ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3843b7",
  "rgb": {
    "r": 56,
    "g": 67,
    "b": 183
  },
  "hsl": {
    "h": 234.803,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44947,
    "c": 0.18101,
    "h": 272.5
  },
  "luminance": 0.08274
}

Semantic roles & 50–950 ramp

primary
#3843B7
secondary
#C7C184
accent
#D04BDD
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #3843B7

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

Preview Lab → · Contrast checker → · Palette generator →

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