#3843AE#3843AE

#3843AE is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.2% C 0.169 H 272.8°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#3843AE
RGBrgb(56, 67, 174)
HSLhsl(234, 51%, 45%)
HSVhsv(234, 68%, 68%)
CMYKcmyk(67.8%, 61.5%, 0%, 31.8%)
CIE-LABlab(33.79, 31.05, -58.53)
CIE-LCHlch(33.79, 66.26, 297.94°)
OKLaboklab(44.16% 0.0084 -0.1688)
OKLCHoklch(44.16% 0.169 272.8)
XYZxyz(11.2755, 7.9100, 40.9688)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3843AE #AEA338
analogous
#387EAE #3843AE #6838AE
triadic
#3843AE #AE3843 #43AE38
tetradic
#3843AE #AE387E #AEA338 #38AE68
square
#3843AE #AE387E #AEA338 #38AE68
split-complementary
#3843AE #AE6838 #7EAE38
monochromatic
#1A1F51 #293180 #3843AE #5964CA #888FD9

Accessibility & contrast

On white

8.13
#3843AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#3843AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3843AE
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3843AE#FFFFFF#000000##FFFFFF
##3843AE1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B1
Deuteranopia (green-blind)
#004AAC
Tritanopia (blue-blind)
#005E72
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3843ae;
/* rgb */ color: rgb(56, 67, 174);
/* oklch */ color: oklch(44.2% 0.169 272.8);
Tailwind
colors: {
  custom: {
    50: '#7d77c7',
    500: '#3843ae',
    950: '#000000',
  },
}
SCSS
$custom: #3843ae;
$custom-light: #7d77c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3843ae",
  "rgb": {
    "r": 56,
    "g": 67,
    "b": 174
  },
  "hsl": {
    "h": 234.407,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.44162,
    "c": 0.16897,
    "h": 272.8
  },
  "luminance": 0.07911
}

Semantic roles & 50–950 ramp

primary
#3843AE
secondary
#C3BC7F
accent
#CE4DDB
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3843AE

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

Preview Lab → · Contrast checker → · Palette generator →

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