#3843BD#3843BD

#3843BD is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.5% C 0.189 H 272.3°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#3843BD
RGBrgb(56, 67, 189)
HSLhsl(235, 54%, 48%)
HSVhsv(235, 70%, 74%)
CMYKcmyk(70.4%, 64.6%, 0%, 25.9%)
CIE-LABlab(35.06, 36.34, -65.34)
CIE-LCHlch(35.06, 74.77, 299.08°)
OKLaboklab(45.48% 0.0077 -0.1887)
OKLCHoklch(45.48% 0.189 272.3)
XYZxyz(12.8203, 8.5279, 49.1047)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3843BD #BDB238
analogous
#3885BD #3843BD #7038BD
triadic
#3843BD #BD3843 #43BD38
tetradic
#3843BD #BD3885 #BDB238 #38BD70
square
#3843BD #BD3885 #BDB238 #38BD70
split-complementary
#3843BD #BD7038 #85BD38
monochromatic
#1C225F #2A328E #3843BD #626BD0 #9197DE

Accessibility & contrast

On white

7.76
#3843BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#3843BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3843BD
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3843BD#FFFFFF#000000##FFFFFF
##3843BD1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C1
Deuteranopia (green-blind)
#004CBB
Tritanopia (blue-blind)
#00637A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3843bd;
/* rgb */ color: rgb(56, 67, 189);
/* oklch */ color: oklch(45.5% 0.189 272.3);
Tailwind
colors: {
  custom: {
    50: '#8077d2',
    500: '#3843bd',
    950: '#000000',
  },
}
SCSS
$custom: #3843bd;
$custom-light: #8077d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3843bd",
  "rgb": {
    "r": 56,
    "g": 67,
    "b": 189
  },
  "hsl": {
    "h": 235.038,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45483,
    "c": 0.18889,
    "h": 272.3
  },
  "luminance": 0.08529
}

Semantic roles & 50–950 ramp

primary
#3843BD
secondary
#C9C487
accent
#D14ADE
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3843BD

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

Preview Lab → · Contrast checker → · Palette generator →

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