#3843B4#3843B4

#3843B4 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.7% C 0.177 H 272.6°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#3843B4
RGBrgb(56, 67, 180)
HSLhsl(235, 53%, 46%)
HSVhsv(235, 69%, 71%)
CMYKcmyk(68.9%, 62.8%, 0%, 29.4%)
CIE-LABlab(34.29, 33.17, -61.29)
CIE-LCHlch(34.29, 69.69, 298.43°)
OKLaboklab(44.68% 0.0082 -0.1768)
OKLCHoklch(44.68% 0.177 272.6)
XYZxyz(11.8735, 8.1492, 44.1184)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3843B4 #B4A938
analogous
#3881B4 #3843B4 #6B38B4
triadic
#3843B4 #B43843 #43B438
tetradic
#3843B4 #B43881 #B4A938 #38B46B
square
#3843B4 #B43881 #B4A938 #38B46B
split-complementary
#3843B4 #B46B38 #81B438
monochromatic
#1B2057 #293285 #3843B4 #5D67CD #8B92DB

Accessibility & contrast

On white

7.98
#3843B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#3843B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3843B4
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3843B4#FFFFFF#000000##FFFFFF
##3843B41.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B8
Deuteranopia (green-blind)
#004BB2
Tritanopia (blue-blind)
#006075
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3843b4;
/* rgb */ color: rgb(56, 67, 180);
/* oklch */ color: oklch(44.7% 0.177 272.6);
Tailwind
colors: {
  custom: {
    50: '#7f77cb',
    500: '#3843b4',
    950: '#000000',
  },
}
SCSS
$custom: #3843b4;
$custom-light: #7f77cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3843b4",
  "rgb": {
    "r": 56,
    "g": 67,
    "b": 180
  },
  "hsl": {
    "h": 234.677,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44683,
    "c": 0.17703,
    "h": 272.6
  },
  "luminance": 0.0815
}

Semantic roles & 50–950 ramp

primary
#3843B4
secondary
#C5BF82
accent
#CF4CDC
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3843B4

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

Preview Lab → · Contrast checker → · Palette generator →

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