#3834CB#3834CB

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

Color values

HEX#3834CB
RGBrgb(56, 52, 203)
HSLhsl(242, 59%, 50%)
HSVhsv(242, 74%, 80%)
CMYKcmyk(72.4%, 74.4%, 0%, 20.4%)
CIE-LABlab(33.15, 49.88, -76.67)
CIE-LCHlch(33.15, 91.47, 303.05°)
OKLaboklab(44.51% 0.0145 -0.2218)
OKLCHoklch(44.51% 0.222 273.8)
XYZxyz(13.6348, 7.6072, 57.2381)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3834CB #C7CB34
analogous
#347CCB #3834CB #8334CB
triadic
#3834CB #CB3834 #34CB38
tetradic
#3834CB #CB347C #C7CB34 #34CB83
square
#3834CB #CB347C #C7CB34 #34CB83
split-complementary
#3834CB #CB8334 #7CCB34
monochromatic
#1D1B6A #2B289A #3834CB #6865D7 #9895E4

Accessibility & contrast

On white

8.33
#3834CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#3834CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3834CB
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3834CB#FFFFFF#000000##FFFFFF
##3834CB1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3834cb;
/* rgb */ color: rgb(56, 52, 203);
/* oklch */ color: oklch(44.5% 0.222 273.8);
Tailwind
colors: {
  custom: {
    50: '#856edc',
    500: '#3834cb',
    950: '#000000',
  },
}
SCSS
$custom: #3834cb;
$custom-light: #856edc;
$custom-dark: #000000;
JSON
{
  "hex": "#3834cb",
  "rgb": {
    "r": 56,
    "g": 52,
    "b": 203
  },
  "hsl": {
    "h": 241.589,
    "s": 59.216,
    "l": 50
  },
  "oklch": {
    "l": 0.44509,
    "c": 0.22228,
    "h": 273.8
  },
  "luminance": 0.07609
}

Semantic roles & 50–950 ramp

primary
#3834CB
secondary
#CDCF8C
accent
#E245DE
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3834CB

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

Preview Lab → · Contrast checker → · Palette generator →

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