#34399F#34399F

#34399F is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.8% C 0.162 H 274.4°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#34399F
RGBrgb(52, 57, 159)
HSLhsl(237, 51%, 41%)
HSVhsv(237, 67%, 62%)
CMYKcmyk(67.3%, 64.2%, 0%, 37.6%)
CIE-LABlab(29.81, 31.58, -56.04)
CIE-LCHlch(29.81, 64.32, 299.40°)
OKLaboklab(40.77% 0.0126 -0.1616)
OKLCHoklch(40.77% 0.162 274.4)
XYZxyz(9.1352, 6.1587, 33.5015)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34399F #9F9A34
analogous
#346F9F #34399F #65349F
triadic
#34399F #9F3439 #399F34
tetradic
#34399F #9F346F #9F9A34 #349F65
square
#34399F #9F346F #9F9A34 #349F65
split-complementary
#34399F #9F6534 #6F9F34
monochromatic
#161843 #252871 #34399F #4C51C4 #7A7ED3

Accessibility & contrast

On white

9.41
#34399F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#34399F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34399F
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34399F#FFFFFF#000000##FFFFFF
##34399F1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #34399f;
/* rgb */ color: rgb(52, 57, 159);
/* oklch */ color: oklch(40.8% 0.162 274.4);
Tailwind
colors: {
  custom: {
    50: '#796fbc',
    500: '#34399f',
    950: '#000000',
  },
}
SCSS
$custom: #34399f;
$custom-light: #796fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#34399f",
  "rgb": {
    "r": 52,
    "g": 57,
    "b": 159
  },
  "hsl": {
    "h": 237.196,
    "s": 50.711,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40772,
    "c": 0.16211,
    "h": 274.4
  },
  "luminance": 0.0616
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #34399F

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

Preview Lab → · Contrast checker → · Palette generator →

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