#34529C#34529C

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

Color values

HEX#34529C
RGBrgb(52, 82, 156)
HSLhsl(223, 50%, 41%)
HSVhsv(223, 67%, 61%)
CMYKcmyk(66.7%, 47.4%, 0%, 38.8%)
CIE-LABlab(36.30, 13.97, -43.72)
CIE-LCHlch(36.30, 45.90, 287.72°)
OKLaboklab(45.57% -0.0105 -0.1251)
OKLCHoklch(45.57% 0.126 265.2)
XYZxyz(10.4321, 9.1640, 32.6651)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34529C #9C7E34
analogous
#34869C #34529C #4A349C
triadic
#34529C #9C3452 #529C34
tetradic
#34529C #9C3486 #9C7E34 #349C4A
square
#34529C #9C3486 #9C7E34 #349C4A
split-complementary
#34529C #9C4A34 #869C34
monochromatic
#152240 #253A6E #34529C #4A6DC3 #7892D2

Accessibility & contrast

On white

7.41
#34529C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#34529C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34529C
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34529C#FFFFFF#000000##FFFFFF
##34529C1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5A9F
Deuteranopia (green-blind)
#19519A
Tritanopia (blue-blind)
#00636F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #34529c;
/* rgb */ color: rgb(52, 82, 156);
/* oklch */ color: oklch(45.6% 0.126 265.2);
Tailwind
colors: {
  custom: {
    50: '#7782ba',
    500: '#34529c',
    950: '#000000',
  },
}
SCSS
$custom: #34529c;
$custom-light: #7782ba;
$custom-dark: #000000;
JSON
{
  "hex": "#34529c",
  "rgb": {
    "r": 52,
    "g": 82,
    "b": 156
  },
  "hsl": {
    "h": 222.692,
    "s": 50,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4557,
    "c": 0.12552,
    "h": 265.2
  },
  "luminance": 0.09165
}

Semantic roles & 50–950 ramp

primary
#34529C
secondary
#BBA571
accent
#B14EDA
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #34529C

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

Preview Lab → · Contrast checker → · Palette generator →

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