#3834B9#3834B9

#3834B9 is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 42.7% C 0.200 H 275.1°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#3834B9
RGBrgb(56, 52, 185)
HSLhsl(242, 56%, 46%)
HSVhsv(242, 72%, 73%)
CMYKcmyk(69.7%, 71.9%, 0%, 27.5%)
CIE-LABlab(31.34, 44.04, -69.08)
CIE-LCHlch(31.34, 81.93, 302.52°)
OKLaboklab(42.68% 0.0178 -0.1997)
OKLCHoklch(42.68% 0.2 275.1)
XYZxyz(11.6129, 6.7984, 46.5898)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3834B9 #B5B934
analogous
#3472B9 #3834B9 #7B34B9
triadic
#3834B9 #B93834 #34B938
tetradic
#3834B9 #B93472 #B5B934 #34B97B
square
#3834B9 #B93472 #B5B934 #34B97B
split-complementary
#3834B9 #B97B34 #72B934
monochromatic
#1B1959 #2A2789 #3834B9 #5D5AD1 #8C89DE

Accessibility & contrast

On white

8.90
#3834B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#3834B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3834B9
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3834B9#FFFFFF#000000##FFFFFF
##3834B91.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BD
Deuteranopia (green-blind)
#0044B7
Tritanopia (blue-blind)
#005973
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3834b9;
/* rgb */ color: rgb(56, 52, 185);
/* oklch */ color: oklch(42.7% 0.200 275.1);
Tailwind
colors: {
  custom: {
    50: '#816dcf',
    500: '#3834b9',
    950: '#000000',
  },
}
SCSS
$custom: #3834b9;
$custom-light: #816dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3834b9",
  "rgb": {
    "r": 56,
    "g": 52,
    "b": 185
  },
  "hsl": {
    "h": 241.805,
    "s": 56.118,
    "l": 46.471
  },
  "oklch": {
    "l": 0.42683,
    "c": 0.20048,
    "h": 275.1
  },
  "luminance": 0.068
}

Semantic roles & 50–950 ramp

primary
#3834B9
secondary
#C6C881
accent
#DF48DB
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3834B9

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

Preview Lab → · Contrast checker → · Palette generator →

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