#3434AB#3434AB

#3434AB is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.0% C 0.184 H 274.7°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#3434AB
RGBrgb(52, 52, 171)
HSLhsl(240, 53%, 44%)
HSVhsv(240, 70%, 67%)
CMYKcmyk(69.6%, 69.6%, 0%, 32.9%)
CIE-LABlab(29.73, 38.89, -63.41)
CIE-LCHlch(29.73, 74.38, 301.52°)
OKLaboklab(41.05% 0.015 -0.1832)
OKLCHoklch(41.05% 0.184 274.7)
XYZxyz(9.9924, 6.1254, 39.1759)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3434AB #ABAB34
analogous
#346FAB #3434AB #6F34AB
triadic
#3434AB #AB3434 #34AB34
tetradic
#3434AB #AB346F #ABAB34 #34AB6F
square
#3434AB #AB346F #ABAB34 #34AB6F
split-complementary
#3434AB #AB6F34 #6FAB34
monochromatic
#17174D #26267C #3434AB #5252CA #8181D9

Accessibility & contrast

On white

9.44
#3434AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#3434AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3434AB
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3434AB#FFFFFF#000000##FFFFFF
##3434AB1.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAF
Deuteranopia (green-blind)
#0040A9
Tritanopia (blue-blind)
#00546B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3434ab;
/* rgb */ color: rgb(52, 52, 171);
/* oklch */ color: oklch(41.0% 0.184 274.7);
Tailwind
colors: {
  custom: {
    50: '#7c6cc5',
    500: '#3434ab',
    950: '#000000',
  },
}
SCSS
$custom: #3434ab;
$custom-light: #7c6cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3434ab",
  "rgb": {
    "r": 52,
    "g": 52,
    "b": 171
  },
  "hsl": {
    "h": 240,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41045,
    "c": 0.18383,
    "h": 274.7
  },
  "luminance": 0.06126
}

Semantic roles & 50–950 ramp

primary
#3434AB
secondary
#C2C279
accent
#DD4BDD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3434AB

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

Preview Lab → · Contrast checker → · Palette generator →

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