#34389B#34389B

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

Color values

HEX#34389B
RGBrgb(52, 56, 155)
HSLhsl(238, 50%, 41%)
HSVhsv(238, 66%, 61%)
CMYKcmyk(66.5%, 63.9%, 0%, 39.2%)
CIE-LABlab(29.22, 30.81, -54.57)
CIE-LCHlch(29.22, 62.67, 299.45°)
OKLaboklab(40.23% 0.0136 -0.1573)
OKLCHoklch(40.23% 0.158 275)
XYZxyz(8.7448, 5.9242, 31.6866)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34389B #9B9734
analogous
#346B9B #34389B #63349B
triadic
#34389B #9B3438 #389B34
tetradic
#34389B #9B346B #9B9734 #349B63
square
#34389B #9B346B #9B9734 #349B63
split-complementary
#34389B #9B6334 #6B9B34
monochromatic
#15173F #25276D #34389B #4A4FC2 #787BD2

Accessibility & contrast

On white

9.61
#34389B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34389B
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34389B#FFFFFF#000000##FFFFFF
##34389B1.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#004099
Tritanopia (blue-blind)
#005164
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #34389b;
/* rgb */ color: rgb(52, 56, 155);
/* oklch */ color: oklch(40.2% 0.158 275.0);
Tailwind
colors: {
  custom: {
    50: '#786fb9',
    500: '#34389b',
    950: '#000000',
  },
}
SCSS
$custom: #34389b;
$custom-light: #786fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#34389b",
  "rgb": {
    "r": 52,
    "g": 56,
    "b": 155
  },
  "hsl": {
    "h": 237.67,
    "s": 49.758,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40234,
    "c": 0.15791,
    "h": 275
  },
  "luminance": 0.05925
}

Semantic roles & 50–950 ramp

primary
#34389B
secondary
#BAB771
accent
#D44FD9
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #34389B

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

Preview Lab → · Contrast checker → · Palette generator →

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