#3834D2#3834D2

#3834D2 is a mid, highly saturated blue. Relative luminance 0.080; OKLCH L 45.2% C 0.231 H 273.3°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#3834D2
RGBrgb(56, 52, 210)
HSLhsl(242, 64%, 51%)
HSVhsv(242, 75%, 82%)
CMYKcmyk(73.3%, 75.2%, 0%, 17.6%)
CIE-LABlab(33.88, 52.11, -79.54)
CIE-LCHlch(33.88, 95.09, 303.23°)
OKLaboklab(45.24% 0.0132 -0.2301)
OKLCHoklch(45.24% 0.231 273.3)
XYZxyz(14.4878, 7.9484, 61.7309)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3834D2 #CED234
analogous
#347FD2 #3834D2 #8734D2
triadic
#3834D2 #D23834 #34D238
tetradic
#3834D2 #D2347F #CED234 #34D287
square
#3834D2 #D2347F #CED234 #34D287
split-complementary
#3834D2 #D28734 #7FD234
monochromatic
#1C1972 #2824A4 #3834D2 #6966DD #9A98E8

Accessibility & contrast

On white

8.11
#3834D2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3834D2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3834D2
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3834D2#FFFFFF#000000##FFFFFF
##3834D21.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D7
Deuteranopia (green-blind)
#0048CF
Tritanopia (blue-blind)
#006381
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3834d2;
/* rgb */ color: rgb(56, 52, 210);
/* oklch */ color: oklch(45.2% 0.231 273.3);
Tailwind
colors: {
  custom: {
    50: '#866ee1',
    500: '#3834d2',
    950: '#000000',
  },
}
SCSS
$custom: #3834d2;
$custom-light: #866ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#3834d2",
  "rgb": {
    "r": 56,
    "g": 52,
    "b": 210
  },
  "hsl": {
    "h": 241.519,
    "s": 63.71,
    "l": 51.373
  },
  "oklch": {
    "l": 0.45235,
    "c": 0.23052,
    "h": 273.3
  },
  "luminance": 0.0795
}

Semantic roles & 50–950 ramp

primary
#3834D2
secondary
#D2D48E
accent
#E741E3
background
#F9F6FE
surface
#F1ECFC
border
#CBC7D5
text
#0D0716
muted
#7E7A84

Preview Lab

Preview with #3834D2

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

Preview Lab → · Contrast checker → · Palette generator →

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