#34519E#34519E

#34519E is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.5% C 0.130 H 265.9°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#34519E
RGBrgb(52, 81, 158)
HSLhsl(224, 50%, 41%)
HSVhsv(224, 67%, 62%)
CMYKcmyk(67.1%, 48.7%, 0%, 38%)
CIE-LABlab(36.14, 15.37, -45.17)
CIE-LCHlch(36.14, 47.71, 288.80°)
OKLaboklab(45.49% -0.0092 -0.1294)
OKLCHoklch(45.49% 0.13 265.9)
XYZxyz(10.5280, 9.0825, 33.5394)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34519E #9E8134
analogous
#34869E #34519E #4C349E
triadic
#34519E #9E3451 #519E34
tetradic
#34519E #9E3486 #9E8134 #349E4C
square
#34519E #9E3486 #9E8134 #349E4C
split-complementary
#34519E #9E4C34 #869E34
monochromatic
#162242 #253970 #34519E #4B6CC4 #7992D3

Accessibility & contrast

On white

7.46
#34519E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#34519E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34519E
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34519E#FFFFFF#000000##FFFFFF
##34519E1.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295AA1
Deuteranopia (green-blind)
#11509C
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #34519e;
/* rgb */ color: rgb(52, 81, 158);
/* oklch */ color: oklch(45.5% 0.130 265.9);
Tailwind
colors: {
  custom: {
    50: '#7781bb',
    500: '#34519e',
    950: '#000000',
  },
}
SCSS
$custom: #34519e;
$custom-light: #7781bb;
$custom-dark: #000000;
JSON
{
  "hex": "#34519e",
  "rgb": {
    "r": 52,
    "g": 81,
    "b": 158
  },
  "hsl": {
    "h": 223.585,
    "s": 50.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45493,
    "c": 0.1297,
    "h": 265.9
  },
  "luminance": 0.09084
}

Semantic roles & 50–950 ramp

primary
#34519E
secondary
#BCA872
accent
#B44EDA
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #34519E

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

Preview Lab → · Contrast checker → · Palette generator →

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