#3A34C8#3A34C8

#3A34C8 is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 44.3% C 0.218 H 274.6°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#3A34C8
RGBrgb(58, 52, 200)
HSLhsl(242, 59%, 49%)
HSVhsv(242, 74%, 78%)
CMYKcmyk(71%, 74%, 0%, 21.6%)
CIE-LABlab(32.97, 49.11, -75.21)
CIE-LCHlch(32.97, 89.83, 303.14°)
OKLaboklab(44.32% 0.0175 -0.2175)
OKLCHoklch(44.32% 0.218 274.6)
XYZxyz(13.3948, 7.5244, 55.3788)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A34C8 #C2C834
analogous
#3478C8 #3A34C8 #8434C8
triadic
#3A34C8 #C83A34 #34C83A
tetradic
#3A34C8 #C83478 #C2C834 #34C884
square
#3A34C8 #C83478 #C2C834 #34C884
split-complementary
#3A34C8 #C88434 #78C834
monochromatic
#1E1B67 #2C2797 #3A34C8 #6763D6 #9793E3

Accessibility & contrast

On white

8.38
#3A34C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#3A34C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A34C8
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A34C8#FFFFFF#000000##FFFFFF
##3A34C81.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CC
Deuteranopia (green-blind)
#0047C5
Tritanopia (blue-blind)
#005F7B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3a34c8;
/* rgb */ color: rgb(58, 52, 200);
/* oklch */ color: oklch(44.3% 0.218 274.6);
Tailwind
colors: {
  custom: {
    50: '#856eda',
    500: '#3a34c8',
    950: '#000000',
  },
}
SCSS
$custom: #3a34c8;
$custom-light: #856eda;
$custom-dark: #000000;
JSON
{
  "hex": "#3a34c8",
  "rgb": {
    "r": 58,
    "g": 52,
    "b": 200
  },
  "hsl": {
    "h": 242.432,
    "s": 58.73,
    "l": 49.412
  },
  "oklch": {
    "l": 0.44324,
    "c": 0.21821,
    "h": 274.6
  },
  "luminance": 0.07526
}

Semantic roles & 50–950 ramp

primary
#3A34C8
secondary
#CBCE8A
accent
#E246DC
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3A34C8

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

Preview Lab → · Contrast checker → · Palette generator →

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