#3834CC#3834CC

#3834CC is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.6% C 0.223 H 273.7°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#3834CC
RGBrgb(56, 52, 204)
HSLhsl(242, 60%, 50%)
HSVhsv(242, 75%, 80%)
CMYKcmyk(72.5%, 74.5%, 0%, 20%)
CIE-LABlab(33.25, 50.20, -77.08)
CIE-LCHlch(33.25, 91.99, 303.08°)
OKLaboklab(44.61% 0.0144 -0.223)
OKLCHoklch(44.61% 0.223 273.7)
XYZxyz(13.7543, 7.6550, 57.8677)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3834CC #C8CC34
analogous
#347CCC #3834CC #8434CC
triadic
#3834CC #CC3834 #34CC38
tetradic
#3834CC #CC347C #C8CC34 #34CC84
square
#3834CC #CC347C #C8CC34 #34CC84
split-complementary
#3834CC #CC8434 #7CCC34
monochromatic
#1D1B6B #2A279C #3834CC #6865D8 #9896E5

Accessibility & contrast

On white

8.30
#3834CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#3834CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3834CC
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3834CC#FFFFFF#000000##FFFFFF
##3834CC1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055D0
Deuteranopia (green-blind)
#0047C9
Tritanopia (blue-blind)
#00607E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3834cc;
/* rgb */ color: rgb(56, 52, 204);
/* oklch */ color: oklch(44.6% 0.223 273.7);
Tailwind
colors: {
  custom: {
    50: '#856edd',
    500: '#3834cc',
    950: '#000000',
  },
}
SCSS
$custom: #3834cc;
$custom-light: #856edd;
$custom-dark: #000000;
JSON
{
  "hex": "#3834cc",
  "rgb": {
    "r": 56,
    "g": 52,
    "b": 204
  },
  "hsl": {
    "h": 241.579,
    "s": 59.843,
    "l": 50.196
  },
  "oklch": {
    "l": 0.44612,
    "c": 0.22346,
    "h": 273.7
  },
  "luminance": 0.07656
}

Semantic roles & 50–950 ramp

primary
#3834CC
secondary
#CED08C
accent
#E345DF
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3834CC

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

Preview Lab → · Contrast checker → · Palette generator →

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