#3834B5#3834B5

#3834B5 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.3% C 0.196 H 275.4°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#3834B5
RGBrgb(56, 52, 181)
HSLhsl(242, 55%, 46%)
HSVhsv(242, 71%, 71%)
CMYKcmyk(69.1%, 71.3%, 0%, 29%)
CIE-LABlab(30.95, 42.72, -67.35)
CIE-LCHlch(30.95, 79.76, 302.38°)
OKLaboklab(42.29% 0.0185 -0.1946)
OKLCHoklch(42.29% 0.196 275.4)
XYZxyz(11.1966, 6.6319, 44.3971)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3834B5 #B1B534
analogous
#3471B5 #3834B5 #7834B5
triadic
#3834B5 #B53834 #34B538
tetradic
#3834B5 #B53471 #B1B534 #34B578
square
#3834B5 #B53471 #B1B534 #34B578
split-complementary
#3834B5 #B57834 #71B534
monochromatic
#1B1956 #292685 #3834B5 #5B57CF #8A87DC

Accessibility & contrast

On white

9.03
#3834B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#3834B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3834B5
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3834B5#FFFFFF#000000##FFFFFF
##3834B51.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB9
Deuteranopia (green-blind)
#0043B3
Tritanopia (blue-blind)
#005871
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3834b5;
/* rgb */ color: rgb(56, 52, 181);
/* oklch */ color: oklch(42.3% 0.196 275.4);
Tailwind
colors: {
  custom: {
    50: '#806dcc',
    500: '#3834b5',
    950: '#000000',
  },
}
SCSS
$custom: #3834b5;
$custom-light: #806dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3834b5",
  "rgb": {
    "r": 56,
    "g": 52,
    "b": 181
  },
  "hsl": {
    "h": 241.86,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.42287,
    "c": 0.19551,
    "h": 275.4
  },
  "luminance": 0.06633
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3834B5

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

Preview Lab → · Contrast checker → · Palette generator →

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