#3834B8#3834B8

#3834B8 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.6% C 0.199 H 275.2°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#3834B8
RGBrgb(56, 52, 184)
HSLhsl(242, 56%, 46%)
HSVhsv(242, 72%, 72%)
CMYKcmyk(69.6%, 71.7%, 0%, 27.8%)
CIE-LABlab(31.25, 43.71, -68.65)
CIE-LCHlch(31.25, 81.39, 302.48°)
OKLaboklab(42.58% 0.018 -0.1984)
OKLCHoklch(42.58% 0.199 275.2)
XYZxyz(11.5078, 6.7564, 46.0358)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3834B8 #B4B834
analogous
#3472B8 #3834B8 #7A34B8
triadic
#3834B8 #B83834 #34B838
tetradic
#3834B8 #B83472 #B4B834 #34B87A
square
#3834B8 #B83472 #B4B834 #34B87A
split-complementary
#3834B8 #B87A34 #72B834
monochromatic
#1B1959 #292788 #3834B8 #5D59D0 #8B89DE

Accessibility & contrast

On white

8.93
#3834B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#3834B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3834B8
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3834B8#FFFFFF#000000##FFFFFF
##3834B81.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBC
Deuteranopia (green-blind)
#0043B6
Tritanopia (blue-blind)
#005972
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3834b8;
/* rgb */ color: rgb(56, 52, 184);
/* oklch */ color: oklch(42.6% 0.199 275.2);
Tailwind
colors: {
  custom: {
    50: '#816dcf',
    500: '#3834b8',
    950: '#000000',
  },
}
SCSS
$custom: #3834b8;
$custom-light: #816dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3834b8",
  "rgb": {
    "r": 56,
    "g": 52,
    "b": 184
  },
  "hsl": {
    "h": 241.818,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.42584,
    "c": 0.19924,
    "h": 275.2
  },
  "luminance": 0.06757
}

Semantic roles & 50–950 ramp

primary
#3834B8
secondary
#C5C880
accent
#DF49DB
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3834B8

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

Preview Lab → · Contrast checker → · Palette generator →

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