#3A34B9#3A34B9

#3A34B9 is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 42.8% C 0.200 H 275.8°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#3A34B9
RGBrgb(58, 52, 185)
HSLhsl(243, 56%, 46%)
HSVhsv(243, 72%, 73%)
CMYKcmyk(68.6%, 71.9%, 0%, 27.5%)
CIE-LABlab(31.48, 44.26, -68.85)
CIE-LCHlch(31.48, 81.85, 302.73°)
OKLaboklab(42.82% 0.0203 -0.199)
OKLCHoklch(42.82% 0.2 275.8)
XYZxyz(11.7270, 6.8572, 46.5951)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A34B9 #B3B934
analogous
#3471B9 #3A34B9 #7D34B9
triadic
#3A34B9 #B93A34 #34B93A
tetradic
#3A34B9 #B93471 #B3B934 #34B97D
square
#3A34B9 #B93471 #B3B934 #34B97D
split-complementary
#3A34B9 #B97D34 #71B934
monochromatic
#1C1959 #2B2789 #3A34B9 #5F5AD1 #8D89DE

Accessibility & contrast

On white

8.85
#3A34B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#3A34B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A34B9
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A34B9#FFFFFF#000000##FFFFFF
##3A34B91.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.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: #3a34b9;
/* rgb */ color: rgb(58, 52, 185);
/* oklch */ color: oklch(42.8% 0.200 275.8);
Tailwind
colors: {
  custom: {
    50: '#826dcf',
    500: '#3a34b9',
    950: '#000000',
  },
}
SCSS
$custom: #3a34b9;
$custom-light: #826dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a34b9",
  "rgb": {
    "r": 58,
    "g": 52,
    "b": 185
  },
  "hsl": {
    "h": 242.707,
    "s": 56.118,
    "l": 46.471
  },
  "oklch": {
    "l": 0.42816,
    "c": 0.2,
    "h": 275.8
  },
  "luminance": 0.06858
}

Semantic roles & 50–950 ramp

primary
#3A34B9
secondary
#C5C881
accent
#DF48D9
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3A34B9

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

Preview Lab → · Contrast checker → · Palette generator →

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