#3434B2#3434B2

#3434B2 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.7% C 0.193 H 274.2°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#3434B2
RGBrgb(52, 52, 178)
HSLhsl(240, 55%, 45%)
HSVhsv(240, 71%, 70%)
CMYKcmyk(70.8%, 70.8%, 0%, 30.2%)
CIE-LABlab(30.40, 41.26, -66.49)
CIE-LCHlch(30.40, 78.25, 301.82°)
OKLaboklab(41.73% 0.014 -0.1922)
OKLCHoklch(41.73% 0.193 274.2)
XYZxyz(10.6774, 6.3994, 42.7833)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3434B2 #B2B234
analogous
#3473B2 #3434B2 #7334B2
triadic
#3434B2 #B23434 #34B234
tetradic
#3434B2 #B23473 #B2B234 #34B273
square
#3434B2 #B23473 #B2B234 #34B273
split-complementary
#3434B2 #B27334 #73B234
monochromatic
#181853 #262683 #3434B2 #5656CE #8585DB

Accessibility & contrast

On white

9.21
#3434B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#3434B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3434B2
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3434B2#FFFFFF#000000##FFFFFF
##3434B21.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB6
Deuteranopia (green-blind)
#0042B0
Tritanopia (blue-blind)
#00576F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3434b2;
/* rgb */ color: rgb(52, 52, 178);
/* oklch */ color: oklch(41.7% 0.193 274.2);
Tailwind
colors: {
  custom: {
    50: '#7e6cca',
    500: '#3434b2',
    950: '#000000',
  },
}
SCSS
$custom: #3434b2;
$custom-light: #7e6cca;
$custom-dark: #000000;
JSON
{
  "hex": "#3434b2",
  "rgb": {
    "r": 52,
    "g": 52,
    "b": 178
  },
  "hsl": {
    "h": 240,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.41732,
    "c": 0.19273,
    "h": 274.2
  },
  "luminance": 0.064
}

Semantic roles & 50–950 ramp

primary
#3434B2
secondary
#C5C57D
accent
#DE4ADE
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3434B2

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

Preview Lab → · Contrast checker → · Palette generator →

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