#34529D#34529D

#34529D is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.6% C 0.127 H 265.3°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#34529D
RGBrgb(52, 82, 157)
HSLhsl(223, 50%, 41%)
HSVhsv(223, 67%, 62%)
CMYKcmyk(66.9%, 47.8%, 0%, 38.4%)
CIE-LABlab(36.36, 14.34, -44.22)
CIE-LCHlch(36.36, 46.48, 287.97°)
OKLaboklab(45.64% -0.0104 -0.1265)
OKLCHoklch(45.64% 0.127 265.3)
XYZxyz(10.5172, 9.1980, 33.1129)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34529D #9D7F34
analogous
#34869D #34529D #4A349D
triadic
#34529D #9D3452 #529D34
tetradic
#34529D #9D3486 #9D7F34 #349D4A
square
#34529D #9D3486 #9D7F34 #349D4A
split-complementary
#34529D #9D4A34 #869D34
monochromatic
#162241 #253A6F #34529D #4B6DC3 #7992D3

Accessibility & contrast

On white

7.39
#34529D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#34529D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34529D
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34529D#FFFFFF#000000##FFFFFF
##34529D1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5BA0
Deuteranopia (green-blind)
#17519B
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #34529d;
/* rgb */ color: rgb(52, 82, 157);
/* oklch */ color: oklch(45.6% 0.127 265.3);
Tailwind
colors: {
  custom: {
    50: '#7782ba',
    500: '#34529d',
    950: '#000000',
  },
}
SCSS
$custom: #34529d;
$custom-light: #7782ba;
$custom-dark: #000000;
JSON
{
  "hex": "#34529d",
  "rgb": {
    "r": 52,
    "g": 82,
    "b": 157
  },
  "hsl": {
    "h": 222.857,
    "s": 50.239,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4564,
    "c": 0.12697,
    "h": 265.3
  },
  "luminance": 0.09199
}

Semantic roles & 50–950 ramp

primary
#34529D
secondary
#BBA672
accent
#B24EDA
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #34529D

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

Preview Lab → · Contrast checker → · Palette generator →

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