#3843B3#3843B3

#3843B3 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.6% C 0.176 H 272.7°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#3843B3
RGBrgb(56, 67, 179)
HSLhsl(235, 52%, 46%)
HSVhsv(235, 69%, 70%)
CMYKcmyk(68.7%, 62.6%, 0%, 29.8%)
CIE-LABlab(34.21, 32.82, -60.83)
CIE-LCHlch(34.21, 69.12, 298.35°)
OKLaboklab(44.6% 0.0082 -0.1755)
OKLCHoklch(44.6% 0.176 272.7)
XYZxyz(11.7720, 8.1086, 43.5838)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3843B3 #B3A838
analogous
#3880B3 #3843B3 #6A38B3
triadic
#3843B3 #B33843 #43B338
tetradic
#3843B3 #B33880 #B3A838 #38B36A
square
#3843B3 #B33880 #B3A838 #38B36A
split-complementary
#3843B3 #B36A38 #80B338
monochromatic
#1B2056 #293284 #3843B3 #5C66CC #8B92DB

Accessibility & contrast

On white

8.01
#3843B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#3843B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3843B3#FFFFFF#000000##FFFFFF
##3843B31.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#004BB1
Tritanopia (blue-blind)
#005F74
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3843b3;
/* rgb */ color: rgb(56, 67, 179);
/* oklch */ color: oklch(44.6% 0.176 272.7);
Tailwind
colors: {
  custom: {
    50: '#7e77cb',
    500: '#3843b3',
    950: '#000000',
  },
}
SCSS
$custom: #3843b3;
$custom-light: #7e77cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3843b3",
  "rgb": {
    "r": 56,
    "g": 67,
    "b": 179
  },
  "hsl": {
    "h": 234.634,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.44595,
    "c": 0.17569,
    "h": 272.7
  },
  "luminance": 0.0811
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3843B3

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

Preview Lab → · Contrast checker → · Palette generator →

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