#3834B7#3834B7

#3834B7 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.5% C 0.198 H 275.3°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#3834B7
RGBrgb(56, 52, 183)
HSLhsl(242, 56%, 46%)
HSVhsv(242, 72%, 72%)
CMYKcmyk(69.4%, 71.6%, 0%, 28.2%)
CIE-LABlab(31.15, 43.38, -68.22)
CIE-LCHlch(31.15, 80.84, 302.45°)
OKLaboklab(42.49% 0.0181 -0.1972)
OKLCHoklch(42.49% 0.198 275.3)
XYZxyz(11.4033, 6.7146, 45.4857)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3834B7 #B3B734
analogous
#3471B7 #3834B7 #7934B7
triadic
#3834B7 #B73834 #34B738
tetradic
#3834B7 #B73471 #B3B734 #34B779
square
#3834B7 #B73471 #B3B734 #34B779
split-complementary
#3834B7 #B77934 #71B734
monochromatic
#1B1958 #292687 #3834B7 #5C59D0 #8B88DD

Accessibility & contrast

On white

8.96
#3834B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#3834B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3834B7
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3834B7#FFFFFF#000000##FFFFFF
##3834B71.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBB
Deuteranopia (green-blind)
#0043B5
Tritanopia (blue-blind)
#005972
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3834b7;
/* rgb */ color: rgb(56, 52, 183);
/* oklch */ color: oklch(42.5% 0.198 275.3);
Tailwind
colors: {
  custom: {
    50: '#806dce',
    500: '#3834b7',
    950: '#000000',
  },
}
SCSS
$custom: #3834b7;
$custom-light: #806dce;
$custom-dark: #000000;
JSON
{
  "hex": "#3834b7",
  "rgb": {
    "r": 56,
    "g": 52,
    "b": 183
  },
  "hsl": {
    "h": 241.832,
    "s": 55.745,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42485,
    "c": 0.198,
    "h": 275.3
  },
  "luminance": 0.06716
}

Semantic roles & 50–950 ramp

primary
#3834B7
secondary
#C5C780
accent
#DF49DA
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3834B7

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

Preview Lab → · Contrast checker → · Palette generator →

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