#34519F#34519F

#34519F is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.6% C 0.131 H 266.0°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#34519F
RGBrgb(52, 81, 159)
HSLhsl(224, 51%, 41%)
HSVhsv(224, 67%, 62%)
CMYKcmyk(67.3%, 49.1%, 0%, 37.6%)
CIE-LABlab(36.21, 15.74, -45.66)
CIE-LCHlch(36.21, 48.30, 289.02°)
OKLaboklab(45.57% -0.0091 -0.1308)
OKLCHoklch(45.57% 0.131 266)
XYZxyz(10.6144, 9.1171, 33.9946)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34519F #9F8234
analogous
#34879F #34519F #4D349F
triadic
#34519F #9F3451 #519F34
tetradic
#34519F #9F3487 #9F8234 #349F4D
square
#34519F #9F3487 #9F8234 #349F4D
split-complementary
#34519F #9F4D34 #879F34
monochromatic
#162243 #253A71 #34519F #4C6CC4 #7A92D3

Accessibility & contrast

On white

7.44
#34519F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34519F
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34519F#FFFFFF#000000##FFFFFF
##34519F1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285AA2
Deuteranopia (green-blind)
#0E519D
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #34519f;
/* rgb */ color: rgb(52, 81, 159);
/* oklch */ color: oklch(45.6% 0.131 266.0);
Tailwind
colors: {
  custom: {
    50: '#7881bc',
    500: '#34519f',
    950: '#000000',
  },
}
SCSS
$custom: #34519f;
$custom-light: #7881bc;
$custom-dark: #000000;
JSON
{
  "hex": "#34519f",
  "rgb": {
    "r": 52,
    "g": 81,
    "b": 159
  },
  "hsl": {
    "h": 223.738,
    "s": 50.711,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45565,
    "c": 0.13114,
    "h": 266
  },
  "luminance": 0.09118
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #34519F

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

Preview Lab → · Contrast checker → · Palette generator →

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