#3843AC#3843AC

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

Color values

HEX#3843AC
RGBrgb(56, 67, 172)
HSLhsl(234, 51%, 45%)
HSVhsv(234, 67%, 67%)
CMYKcmyk(67.4%, 61%, 0%, 32.5%)
CIE-LABlab(33.63, 30.34, -57.61)
CIE-LCHlch(33.63, 65.11, 297.77°)
OKLaboklab(43.99% 0.0084 -0.166)
OKLCHoklch(43.99% 0.166 272.9)
XYZxyz(11.0819, 7.8326, 39.9496)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3843AC #ACA138
analogous
#387DAC #3843AC #6738AC
triadic
#3843AC #AC3843 #43AC38
tetradic
#3843AC #AC387D #ACA138 #38AC67
square
#3843AC #AC387D #ACA138 #38AC67
split-complementary
#3843AC #AC6738 #7DAC38
monochromatic
#1A1F50 #29317E #3843AC #5863C9 #878ED8

Accessibility & contrast

On white

8.18
#3843AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#3843AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3843AC
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3843AC#FFFFFF#000000##FFFFFF
##3843AC1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AF
Deuteranopia (green-blind)
#004AAA
Tritanopia (blue-blind)
#005D71
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3843ac;
/* rgb */ color: rgb(56, 67, 172);
/* oklch */ color: oklch(44.0% 0.166 272.9);
Tailwind
colors: {
  custom: {
    50: '#7d77c6',
    500: '#3843ac',
    950: '#000000',
  },
}
SCSS
$custom: #3843ac;
$custom-light: #7d77c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3843ac",
  "rgb": {
    "r": 56,
    "g": 67,
    "b": 172
  },
  "hsl": {
    "h": 234.31,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43991,
    "c": 0.16625,
    "h": 272.9
  },
  "luminance": 0.07834
}

Semantic roles & 50–950 ramp

primary
#3843AC
secondary
#C2BB7E
accent
#CD4DDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3843AC

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

Preview Lab → · Contrast checker → · Palette generator →

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