#3A34CB#3A34CB

#3A34CB is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.6% C 0.222 H 274.4°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#3A34CB
RGBrgb(58, 52, 203)
HSLhsl(242, 59%, 50%)
HSVhsv(242, 74%, 80%)
CMYKcmyk(71.4%, 74.4%, 0%, 20.4%)
CIE-LABlab(33.28, 50.07, -76.46)
CIE-LCHlch(33.28, 91.39, 303.22°)
OKLaboklab(44.63% 0.017 -0.2211)
OKLCHoklch(44.63% 0.222 274.4)
XYZxyz(13.7488, 7.6660, 57.2434)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A34CB #C5CB34
analogous
#347ACB #3A34CB #8534CB
triadic
#3A34CB #CB3A34 #34CB3A
tetradic
#3A34CB #CB347A #C5CB34 #34CB85
square
#3A34CB #CB347A #C5CB34 #34CB85
split-complementary
#3A34CB #CB8534 #7ACB34
monochromatic
#1E1B6A #2C289A #3A34CB #6965D7 #9995E4

Accessibility & contrast

On white

8.29
#3A34CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#3A34CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A34CB
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A34CB#FFFFFF#000000##FFFFFF
##3A34CB1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CF
Deuteranopia (green-blind)
#0047C8
Tritanopia (blue-blind)
#00607D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3a34cb;
/* rgb */ color: rgb(58, 52, 203);
/* oklch */ color: oklch(44.6% 0.222 274.4);
Tailwind
colors: {
  custom: {
    50: '#866edc',
    500: '#3a34cb',
    950: '#000000',
  },
}
SCSS
$custom: #3a34cb;
$custom-light: #866edc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a34cb",
  "rgb": {
    "r": 58,
    "g": 52,
    "b": 203
  },
  "hsl": {
    "h": 242.384,
    "s": 59.216,
    "l": 50
  },
  "oklch": {
    "l": 0.44631,
    "c": 0.22178,
    "h": 274.4
  },
  "luminance": 0.07667
}

Semantic roles & 50–950 ramp

primary
#3A34CB
secondary
#CDCF8C
accent
#E245DC
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3A34CB

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

Preview Lab → · Contrast checker → · Palette generator →

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