#3834CA#3834CA

#3834CA is a dark, highly saturated blue. Relative luminance 0.076; OKLCH L 44.4% C 0.221 H 273.8°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#3834CA
RGBrgb(56, 52, 202)
HSLhsl(242, 59%, 50%)
HSVhsv(242, 74%, 79%)
CMYKcmyk(72.3%, 74.3%, 0%, 20.8%)
CIE-LABlab(33.05, 49.56, -76.26)
CIE-LCHlch(33.05, 90.95, 303.02°)
OKLaboklab(44.41% 0.0147 -0.2206)
OKLCHoklch(44.41% 0.221 273.8)
XYZxyz(13.5160, 7.5597, 56.6125)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3834CA #C6CA34
analogous
#347BCA #3834CA #8334CA
triadic
#3834CA #CA3834 #34CA38
tetradic
#3834CA #CA347B #C6CA34 #34CA83
square
#3834CA #CA347B #C6CA34 #34CA83
split-complementary
#3834CA #CA8334 #7BCA34
monochromatic
#1D1B69 #2B2799 #3834CA #6764D7 #9795E4

Accessibility & contrast

On white

8.36
#3834CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#3834CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3834CA
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3834CA#FFFFFF#000000##FFFFFF
##3834CA1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CE
Deuteranopia (green-blind)
#0047C7
Tritanopia (blue-blind)
#00607D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3834ca;
/* rgb */ color: rgb(56, 52, 202);
/* oklch */ color: oklch(44.4% 0.221 273.8);
Tailwind
colors: {
  custom: {
    50: '#856edb',
    500: '#3834ca',
    950: '#000000',
  },
}
SCSS
$custom: #3834ca;
$custom-light: #856edb;
$custom-dark: #000000;
JSON
{
  "hex": "#3834ca",
  "rgb": {
    "r": 56,
    "g": 52,
    "b": 202
  },
  "hsl": {
    "h": 241.6,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.44406,
    "c": 0.22108,
    "h": 273.8
  },
  "luminance": 0.07561
}

Semantic roles & 50–950 ramp

primary
#3834CA
secondary
#CDCF8B
accent
#E246DE
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3834CA

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

Preview Lab → · Contrast checker → · Palette generator →

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