#34519D#34519D

#34519D is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.4% C 0.128 H 265.8°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#34519D
RGBrgb(52, 81, 157)
HSLhsl(223, 50%, 41%)
HSVhsv(223, 67%, 62%)
CMYKcmyk(66.9%, 48.4%, 0%, 38.4%)
CIE-LABlab(36.08, 15.00, -44.67)
CIE-LCHlch(36.08, 47.13, 288.56°)
OKLaboklab(45.42% -0.0094 -0.1279)
OKLCHoklch(45.42% 0.128 265.8)
XYZxyz(10.4423, 9.0483, 33.0879)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34519D #9D8034
analogous
#34859D #34519D #4C349D
triadic
#34519D #9D3451 #519D34
tetradic
#34519D #9D3485 #9D8034 #349D4C
square
#34519D #9D3485 #9D8034 #349D4C
split-complementary
#34519D #9D4C34 #859D34
monochromatic
#162241 #25396F #34519D #4B6CC3 #7992D3

Accessibility & contrast

On white

7.47
#34519D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#34519D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34519D
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34519D#FFFFFF#000000##FFFFFF
##34519D1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5AA0
Deuteranopia (green-blind)
#13509B
Tritanopia (blue-blind)
#00636F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #34519d;
/* rgb */ color: rgb(52, 81, 157);
/* oklch */ color: oklch(45.4% 0.128 265.8);
Tailwind
colors: {
  custom: {
    50: '#7781ba',
    500: '#34519d',
    950: '#000000',
  },
}
SCSS
$custom: #34519d;
$custom-light: #7781ba;
$custom-dark: #000000;
JSON
{
  "hex": "#34519d",
  "rgb": {
    "r": 52,
    "g": 81,
    "b": 157
  },
  "hsl": {
    "h": 223.429,
    "s": 50.239,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45422,
    "c": 0.12825,
    "h": 265.8
  },
  "luminance": 0.09049
}

Semantic roles & 50–950 ramp

primary
#34519D
secondary
#BBA772
accent
#B34EDA
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #34519D

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

Preview Lab → · Contrast checker → · Palette generator →

#34519D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva