#3A34B8#3A34B8

#3A34B8 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.7% C 0.199 H 275.9°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#3A34B8
RGBrgb(58, 52, 184)
HSLhsl(243, 56%, 46%)
HSVhsv(243, 72%, 72%)
CMYKcmyk(68.5%, 71.7%, 0%, 27.8%)
CIE-LABlab(31.38, 43.93, -68.42)
CIE-LCHlch(31.38, 81.31, 302.71°)
OKLaboklab(42.72% 0.0205 -0.1977)
OKLCHoklch(42.72% 0.199 275.9)
XYZxyz(11.6218, 6.8152, 46.0411)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A34B8 #B2B834
analogous
#3470B8 #3A34B8 #7C34B8
triadic
#3A34B8 #B83A34 #34B83A
tetradic
#3A34B8 #B83470 #B2B834 #34B87C
square
#3A34B8 #B83470 #B2B834 #34B87C
split-complementary
#3A34B8 #B87C34 #70B834
monochromatic
#1C1959 #2B2788 #3A34B8 #5E59D0 #8D89DE

Accessibility & contrast

On white

8.89
#3A34B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#3A34B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A34B8
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A34B8#FFFFFF#000000##FFFFFF
##3A34B81.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BC
Deuteranopia (green-blind)
#0044B6
Tritanopia (blue-blind)
#005972
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3a34b8;
/* rgb */ color: rgb(58, 52, 184);
/* oklch */ color: oklch(42.7% 0.199 275.9);
Tailwind
colors: {
  custom: {
    50: '#826dcf',
    500: '#3a34b8',
    950: '#000000',
  },
}
SCSS
$custom: #3a34b8;
$custom-light: #826dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a34b8",
  "rgb": {
    "r": 58,
    "g": 52,
    "b": 184
  },
  "hsl": {
    "h": 242.727,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.42717,
    "c": 0.19876,
    "h": 275.9
  },
  "luminance": 0.06816
}

Semantic roles & 50–950 ramp

primary
#3A34B8
secondary
#C4C880
accent
#DF49D8
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3A34B8

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

Preview Lab → · Contrast checker → · Palette generator →

#3A34B8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva