#3834B2#3834B2

#3834B2 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 42.0% C 0.192 H 275.7°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#3834B2
RGBrgb(56, 52, 178)
HSLhsl(242, 55%, 45%)
HSVhsv(242, 71%, 70%)
CMYKcmyk(68.5%, 70.8%, 0%, 30.2%)
CIE-LABlab(30.66, 41.72, -66.04)
CIE-LCHlch(30.66, 78.12, 302.28°)
OKLaboklab(41.99% 0.0189 -0.1908)
OKLCHoklch(41.99% 0.192 275.7)
XYZxyz(10.8921, 6.5101, 42.7934)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3834B2 #AEB234
analogous
#346FB2 #3834B2 #7734B2
triadic
#3834B2 #B23834 #34B238
tetradic
#3834B2 #B2346F #AEB234 #34B277
square
#3834B2 #B2346F #AEB234 #34B277
split-complementary
#3834B2 #B27734 #6FB234
monochromatic
#1A1853 #292683 #3834B2 #5956CE #8885DB

Accessibility & contrast

On white

9.12
#3834B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#3834B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3834B2
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3834B2#FFFFFF#000000##FFFFFF
##3834B21.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB6
Deuteranopia (green-blind)
#0042B0
Tritanopia (blue-blind)
#00576F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3834b2;
/* rgb */ color: rgb(56, 52, 178);
/* oklch */ color: oklch(42.0% 0.192 275.7);
Tailwind
colors: {
  custom: {
    50: '#7f6dca',
    500: '#3834b2',
    950: '#000000',
  },
}
SCSS
$custom: #3834b2;
$custom-light: #7f6dca;
$custom-dark: #000000;
JSON
{
  "hex": "#3834b2",
  "rgb": {
    "r": 56,
    "g": 52,
    "b": 178
  },
  "hsl": {
    "h": 241.905,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.41992,
    "c": 0.19175,
    "h": 275.7
  },
  "luminance": 0.06511
}

Semantic roles & 50–950 ramp

primary
#3834B2
secondary
#C3C57D
accent
#DE4AD9
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3834B2

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

Preview Lab → · Contrast checker → · Palette generator →

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