#3434A2#3434A2

#3434A2 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.2% C 0.172 H 275.4°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#3434A2
RGBrgb(52, 52, 162)
HSLhsl(240, 51%, 42%)
HSVhsv(240, 68%, 64%)
CMYKcmyk(67.9%, 67.9%, 0%, 36.5%)
CIE-LABlab(28.89, 35.79, -59.37)
CIE-LCHlch(28.89, 69.32, 301.09°)
OKLaboklab(40.18% 0.0162 -0.1714)
OKLCHoklch(40.18% 0.172 275.4)
XYZxyz(9.1636, 5.7939, 34.8108)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3434A2 #A2A234
analogous
#346BA2 #3434A2 #6B34A2
triadic
#3434A2 #A23434 #34A234
tetradic
#3434A2 #A2346B #A2A234 #34A26B
square
#3434A2 #A2346B #A2A234 #34A26B
split-complementary
#3434A2 #A26B34 #6BA234
monochromatic
#161645 #252574 #3434A2 #4D4DC6 #7C7CD5

Accessibility & contrast

On white

9.73
#3434A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#3434A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3434A2
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3434A2#FFFFFF#000000##FFFFFF
##3434A21.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#003FA0
Tritanopia (blue-blind)
#005166
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3434a2;
/* rgb */ color: rgb(52, 52, 162);
/* oklch */ color: oklch(40.2% 0.172 275.4);
Tailwind
colors: {
  custom: {
    50: '#7a6cbf',
    500: '#3434a2',
    950: '#000000',
  },
}
SCSS
$custom: #3434a2;
$custom-light: #7a6cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#3434a2",
  "rgb": {
    "r": 52,
    "g": 52,
    "b": 162
  },
  "hsl": {
    "h": 240,
    "s": 51.402,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40182,
    "c": 0.17215,
    "h": 275.4
  },
  "luminance": 0.05795
}

Semantic roles & 50–950 ramp

primary
#3434A2
secondary
#BEBE74
accent
#DB4DDB
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #3434A2

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

Preview Lab → · Contrast checker → · Palette generator →

#3434A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva