#34389C#34389C

#34389C is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.3% C 0.159 H 274.9°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#34389C
RGBrgb(52, 56, 156)
HSLhsl(238, 50%, 41%)
HSVhsv(238, 67%, 61%)
CMYKcmyk(66.7%, 64.1%, 0%, 38.8%)
CIE-LABlab(29.31, 31.16, -55.04)
CIE-LCHlch(29.31, 63.25, 299.52°)
OKLaboklab(40.32% 0.0136 -0.1587)
OKLCHoklch(40.32% 0.159 274.9)
XYZxyz(8.8291, 5.9579, 32.1308)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34389C #9C9834
analogous
#346C9C #34389C #64349C
triadic
#34389C #9C3438 #389C34
tetradic
#34389C #9C346C #9C9834 #349C64
square
#34389C #9C346C #9C9834 #349C64
split-complementary
#34389C #9C6434 #6C9C34
monochromatic
#151740 #25286E #34389C #4A4FC3 #787CD2

Accessibility & contrast

On white

9.58
#34389C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#34389C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34389C
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34389C#FFFFFF#000000##FFFFFF
##34389C1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9F
Deuteranopia (green-blind)
#00409A
Tritanopia (blue-blind)
#005164
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #34389c;
/* rgb */ color: rgb(52, 56, 156);
/* oklch */ color: oklch(40.3% 0.159 274.9);
Tailwind
colors: {
  custom: {
    50: '#796fba',
    500: '#34389c',
    950: '#000000',
  },
}
SCSS
$custom: #34389c;
$custom-light: #796fba;
$custom-dark: #000000;
JSON
{
  "hex": "#34389c",
  "rgb": {
    "r": 52,
    "g": 56,
    "b": 156
  },
  "hsl": {
    "h": 237.692,
    "s": 50,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40323,
    "c": 0.15927,
    "h": 274.9
  },
  "luminance": 0.05959
}

Semantic roles & 50–950 ramp

primary
#34389C
secondary
#BBB871
accent
#D44EDA
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #34389C

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

Preview Lab → · Contrast checker → · Palette generator →

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