#3434B1#3434B1

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

Color values

HEX#3434B1
RGBrgb(52, 52, 177)
HSLhsl(240, 55%, 45%)
HSVhsv(240, 71%, 69%)
CMYKcmyk(70.6%, 70.6%, 0%, 30.6%)
CIE-LABlab(30.30, 40.92, -66.05)
CIE-LCHlch(30.30, 77.70, 301.78°)
OKLaboklab(41.63% 0.0142 -0.1909)
OKLCHoklch(41.63% 0.191 274.2)
XYZxyz(10.5773, 6.3594, 42.2565)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3434B1 #B1B134
analogous
#3473B1 #3434B1 #7334B1
triadic
#3434B1 #B13434 #34B134
tetradic
#3434B1 #B13473 #B1B134 #34B173
square
#3434B1 #B13473 #B1B134 #34B173
split-complementary
#3434B1 #B17334 #73B134
monochromatic
#181852 #262682 #3434B1 #5555CD #8484DB

Accessibility & contrast

On white

9.24
#3434B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#3434B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3434B1
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3434B1#FFFFFF#000000##FFFFFF
##3434B11.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB5
Deuteranopia (green-blind)
#0041AF
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3434b1;
/* rgb */ color: rgb(52, 52, 177);
/* oklch */ color: oklch(41.6% 0.191 274.2);
Tailwind
colors: {
  custom: {
    50: '#7e6cc9',
    500: '#3434b1',
    950: '#000000',
  },
}
SCSS
$custom: #3434b1;
$custom-light: #7e6cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#3434b1",
  "rgb": {
    "r": 52,
    "g": 52,
    "b": 177
  },
  "hsl": {
    "h": 240,
    "s": 54.585,
    "l": 44.902
  },
  "oklch": {
    "l": 0.41633,
    "c": 0.19147,
    "h": 274.2
  },
  "luminance": 0.0636
}

Semantic roles & 50–950 ramp

primary
#3434B1
secondary
#C5C57C
accent
#DE4ADE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3434B1

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

Preview Lab → · Contrast checker → · Palette generator →

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