#3843AA#3843AA

#3843AA is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.8% C 0.164 H 273.0°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#3843AA
RGBrgb(56, 67, 170)
HSLhsl(234, 50%, 44%)
HSVhsv(234, 67%, 67%)
CMYKcmyk(67.1%, 60.6%, 0%, 33.3%)
CIE-LABlab(33.47, 29.62, -56.68)
CIE-LCHlch(33.47, 63.95, 297.59°)
OKLaboklab(43.82% 0.0085 -0.1633)
OKLCHoklch(43.82% 0.164 273)
XYZxyz(10.8913, 7.7564, 38.9456)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3843AA #AA9F38
analogous
#387CAA #3843AA #6638AA
triadic
#3843AA #AA3843 #43AA38
tetradic
#3843AA #AA387C #AA9F38 #38AA66
square
#3843AA #AA387C #AA9F38 #38AA66
split-complementary
#3843AA #AA6638 #7CAA38
monochromatic
#1A1F4E #29317C #3843AA #5762C8 #858DD7

Accessibility & contrast

On white

8.23
#3843AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#3843AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3843AA#FFFFFF#000000##FFFFFF
##3843AA1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3843aa;
/* rgb */ color: rgb(56, 67, 170);
/* oklch */ color: oklch(43.8% 0.164 273.0);
Tailwind
colors: {
  custom: {
    50: '#7c77c4',
    500: '#3843aa',
    950: '#000000',
  },
}
SCSS
$custom: #3843aa;
$custom-light: #7c77c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3843aa",
  "rgb": {
    "r": 56,
    "g": 67,
    "b": 170
  },
  "hsl": {
    "h": 234.211,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43821,
    "c": 0.16352,
    "h": 273
  },
  "luminance": 0.07757
}

Semantic roles & 50–950 ramp

primary
#3843AA
secondary
#C1BA7D
accent
#CC4EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3843AA

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

Preview Lab → · Contrast checker → · Palette generator →

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