#34389A#34389A

#34389A is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.1% C 0.157 H 275.0°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#34389A
RGBrgb(52, 56, 154)
HSLhsl(238, 50%, 40%)
HSVhsv(238, 66%, 60%)
CMYKcmyk(66.2%, 63.6%, 0%, 39.6%)
CIE-LABlab(29.14, 30.45, -54.10)
CIE-LCHlch(29.14, 62.08, 299.37°)
OKLaboklab(40.14% 0.0137 -0.1559)
OKLCHoklch(40.14% 0.157 275)
XYZxyz(8.6612, 5.8908, 31.2462)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34389A #9A9634
analogous
#346B9A #34389A #63349A
triadic
#34389A #9A3438 #389A34
tetradic
#34389A #9A346B #9A9634 #349A63
square
#34389A #9A346B #9A9634 #349A63
split-complementary
#34389A #9A6334 #6B9A34
monochromatic
#15173E #25276C #34389A #494EC2 #777BD1

Accessibility & contrast

On white

9.64
#34389A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#34389A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34389A
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34389A#FFFFFF#000000##FFFFFF
##34389A1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499D
Deuteranopia (green-blind)
#004098
Tritanopia (blue-blind)
#005163
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #34389a;
/* rgb */ color: rgb(52, 56, 154);
/* oklch */ color: oklch(40.1% 0.157 275.0);
Tailwind
colors: {
  custom: {
    50: '#786fb9',
    500: '#34389a',
    950: '#000000',
  },
}
SCSS
$custom: #34389a;
$custom-light: #786fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#34389a",
  "rgb": {
    "r": 52,
    "g": 56,
    "b": 154
  },
  "hsl": {
    "h": 237.647,
    "s": 49.515,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40145,
    "c": 0.15654,
    "h": 275
  },
  "luminance": 0.05892
}

Semantic roles & 50–950 ramp

primary
#34389A
secondary
#BAB770
accent
#D44FD9
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #34389A

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

Preview Lab → · Contrast checker → · Palette generator →

#34389A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva