#3834D1#3834D1

#3834D1 is a mid, highly saturated blue. Relative luminance 0.079; OKLCH L 45.1% C 0.229 H 273.3°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#3834D1
RGBrgb(56, 52, 209)
HSLhsl(242, 63%, 51%)
HSVhsv(242, 75%, 82%)
CMYKcmyk(73.2%, 75.1%, 0%, 18%)
CIE-LABlab(33.77, 51.80, -79.13)
CIE-LCHlch(33.77, 94.58, 303.21°)
OKLaboklab(45.13% 0.0134 -0.229)
OKLCHoklch(45.13% 0.229 273.3)
XYZxyz(14.3637, 7.8987, 61.0769)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3834D1 #CDD134
analogous
#347ED1 #3834D1 #8634D1
triadic
#3834D1 #D13834 #34D138
tetradic
#3834D1 #D1347E #CDD134 #34D186
square
#3834D1 #D1347E #CDD134 #34D186
split-complementary
#3834D1 #D18634 #7ED134
monochromatic
#1C1A71 #2825A3 #3834D1 #6966DC #9A98E8

Accessibility & contrast

On white

8.14
#3834D1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#3834D1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3834D1
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3834D1#FFFFFF#000000##FFFFFF
##3834D11.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D6
Deuteranopia (green-blind)
#0048CE
Tritanopia (blue-blind)
#006281
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3834d1;
/* rgb */ color: rgb(56, 52, 209);
/* oklch */ color: oklch(45.1% 0.229 273.3);
Tailwind
colors: {
  custom: {
    50: '#866ee1',
    500: '#3834d1',
    950: '#000000',
  },
}
SCSS
$custom: #3834d1;
$custom-light: #866ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#3834d1",
  "rgb": {
    "r": 56,
    "g": 52,
    "b": 209
  },
  "hsl": {
    "h": 241.529,
    "s": 63.052,
    "l": 51.176
  },
  "oklch": {
    "l": 0.45131,
    "c": 0.22935,
    "h": 273.3
  },
  "luminance": 0.079
}

Semantic roles & 50–950 ramp

primary
#3834D1
secondary
#D1D38E
accent
#E642E2
background
#F9F6FE
surface
#F1ECFC
border
#CBC7D5
text
#0D0715
muted
#7E7A84

Preview Lab

Preview with #3834D1

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

Preview Lab → · Contrast checker → · Palette generator →

#3834D1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva