#3843AB#3843AB

#3843AB is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.9% C 0.165 H 272.9°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#3843AB
RGBrgb(56, 67, 171)
HSLhsl(234, 51%, 45%)
HSVhsv(234, 67%, 67%)
CMYKcmyk(67.3%, 60.8%, 0%, 32.9%)
CIE-LABlab(33.55, 29.98, -57.14)
CIE-LCHlch(33.55, 64.53, 297.68°)
OKLaboklab(43.91% 0.0085 -0.1647)
OKLCHoklch(43.91% 0.165 272.9)
XYZxyz(10.9863, 7.7943, 39.4457)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3843AB #ABA038
analogous
#387DAB #3843AB #6738AB
triadic
#3843AB #AB3843 #43AB38
tetradic
#3843AB #AB387D #ABA038 #38AB67
square
#3843AB #AB387D #ABA038 #38AB67
split-complementary
#3843AB #AB6738 #7DAB38
monochromatic
#1A1F4F #29317D #3843AB #5863C8 #868ED7

Accessibility & contrast

On white

8.21
#3843AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#3843AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3843AB
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3843AB#FFFFFF#000000##FFFFFF
##3843AB1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AE
Deuteranopia (green-blind)
#004AA9
Tritanopia (blue-blind)
#005D70
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3843ab;
/* rgb */ color: rgb(56, 67, 171);
/* oklch */ color: oklch(43.9% 0.165 272.9);
Tailwind
colors: {
  custom: {
    50: '#7d77c5',
    500: '#3843ab',
    950: '#000000',
  },
}
SCSS
$custom: #3843ab;
$custom-light: #7d77c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3843ab",
  "rgb": {
    "r": 56,
    "g": 67,
    "b": 171
  },
  "hsl": {
    "h": 234.261,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43905,
    "c": 0.16489,
    "h": 272.9
  },
  "luminance": 0.07795
}

Semantic roles & 50–950 ramp

primary
#3843AB
secondary
#C1BB7D
accent
#CD4EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3843AB

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

Preview Lab → · Contrast checker → · Palette generator →

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