#3834C2#3834C2

#3834C2 is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.6% C 0.211 H 274.4°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#3834C2
RGBrgb(56, 52, 194)
HSLhsl(242, 58%, 48%)
HSVhsv(242, 73%, 76%)
CMYKcmyk(71.1%, 73.2%, 0%, 23.9%)
CIE-LABlab(32.24, 46.98, -72.92)
CIE-LCHlch(32.24, 86.74, 302.80°)
OKLaboklab(43.59% 0.0162 -0.2109)
OKLCHoklch(43.59% 0.211 274.4)
XYZxyz(12.5933, 7.1906, 51.7527)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3834C2 #BEC234
analogous
#3477C2 #3834C2 #7F34C2
triadic
#3834C2 #C23834 #34C238
tetradic
#3834C2 #C23477 #BEC234 #34C27F
square
#3834C2 #C23477 #BEC234 #34C27F
split-complementary
#3834C2 #C27F34 #77C234
monochromatic
#1C1A61 #2A2792 #3834C2 #625FD4 #928FE1

Accessibility & contrast

On white

8.61
#3834C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#3834C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3834C2
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3834C2#FFFFFF#000000##FFFFFF
##3834C21.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C6
Deuteranopia (green-blind)
#0045BF
Tritanopia (blue-blind)
#005D78
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3834c2;
/* rgb */ color: rgb(56, 52, 194);
/* oklch */ color: oklch(43.6% 0.211 274.4);
Tailwind
colors: {
  custom: {
    50: '#836dd6',
    500: '#3834c2',
    950: '#000000',
  },
}
SCSS
$custom: #3834c2;
$custom-light: #836dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#3834c2",
  "rgb": {
    "r": 56,
    "g": 52,
    "b": 194
  },
  "hsl": {
    "h": 241.69,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.43588,
    "c": 0.21148,
    "h": 274.4
  },
  "luminance": 0.07192
}

Semantic roles & 50–950 ramp

primary
#3834C2
secondary
#CACC86
accent
#E147DD
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3834C2

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

Preview Lab → · Contrast checker → · Palette generator →

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