#3834C5#3834C5

#3834C5 is a dark, highly saturated blue. Relative luminance 0.073; OKLCH L 43.9% C 0.215 H 274.2°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#3834C5
RGBrgb(56, 52, 197)
HSLhsl(242, 58%, 49%)
HSVhsv(242, 74%, 77%)
CMYKcmyk(71.6%, 73.6%, 0%, 22.7%)
CIE-LABlab(32.54, 47.95, -74.18)
CIE-LCHlch(32.54, 88.33, 302.88°)
OKLaboklab(43.89% 0.0157 -0.2145)
OKLCHoklch(43.89% 0.215 274.2)
XYZxyz(12.9336, 7.3267, 53.5451)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3834C5 #C1C534
analogous
#3479C5 #3834C5 #8134C5
triadic
#3834C5 #C53834 #34C538
tetradic
#3834C5 #C53479 #C1C534 #34C581
square
#3834C5 #C53479 #C1C534 #34C581
split-complementary
#3834C5 #C58134 #79C534
monochromatic
#1C1A64 #2A2795 #3834C5 #6461D5 #9491E2

Accessibility & contrast

On white

8.52
#3834C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#3834C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3834C5
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3834C5#FFFFFF#000000##FFFFFF
##3834C51.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C9
Deuteranopia (green-blind)
#0046C2
Tritanopia (blue-blind)
#005E7A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3834c5;
/* rgb */ color: rgb(56, 52, 197);
/* oklch */ color: oklch(43.9% 0.215 274.2);
Tailwind
colors: {
  custom: {
    50: '#846dd8',
    500: '#3834c5',
    950: '#000000',
  },
}
SCSS
$custom: #3834c5;
$custom-light: #846dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#3834c5",
  "rgb": {
    "r": 56,
    "g": 52,
    "b": 197
  },
  "hsl": {
    "h": 241.655,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.43893,
    "c": 0.2151,
    "h": 274.2
  },
  "luminance": 0.07328
}

Semantic roles & 50–950 ramp

primary
#3834C5
secondary
#CBCD88
accent
#E146DD
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0D0715
muted
#7D7A83

Preview Lab

Preview with #3834C5

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

Preview Lab → · Contrast checker → · Palette generator →

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