#34389F#34389F

#34389F is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.6% C 0.163 H 274.7°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#34389F
RGBrgb(52, 56, 159)
HSLhsl(238, 51%, 41%)
HSVhsv(238, 67%, 62%)
CMYKcmyk(67.3%, 64.8%, 0%, 37.6%)
CIE-LABlab(29.57, 32.22, -56.44)
CIE-LCHlch(29.57, 64.99, 299.72°)
OKLaboklab(40.59% 0.0134 -0.1628)
OKLCHoklch(40.59% 0.163 274.7)
XYZxyz(9.0863, 6.0608, 33.4852)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34389F #9F9B34
analogous
#346E9F #34389F #66349F
triadic
#34389F #9F3438 #389F34
tetradic
#34389F #9F346E #9F9B34 #349F66
square
#34389F #9F346E #9F9B34 #349F66
split-complementary
#34389F #9F6634 #6E9F34
monochromatic
#161843 #252871 #34389F #4C50C4 #7A7DD3

Accessibility & contrast

On white

9.49
#34389F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#34389F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34389F
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34389F#FFFFFF#000000##FFFFFF
##34389F1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#00419D
Tritanopia (blue-blind)
#005266
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #34389f;
/* rgb */ color: rgb(52, 56, 159);
/* oklch */ color: oklch(40.6% 0.163 274.7);
Tailwind
colors: {
  custom: {
    50: '#796fbc',
    500: '#34389f',
    950: '#000000',
  },
}
SCSS
$custom: #34389f;
$custom-light: #796fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#34389f",
  "rgb": {
    "r": 52,
    "g": 56,
    "b": 159
  },
  "hsl": {
    "h": 237.757,
    "s": 50.711,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40593,
    "c": 0.16334,
    "h": 274.7
  },
  "luminance": 0.06062
}

Semantic roles & 50–950 ramp

primary
#34389F
secondary
#BCB973
accent
#D54EDA
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #34389F

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

Preview Lab → · Contrast checker → · Palette generator →

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