#34528E#34528E

#34528E is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.6% C 0.105 H 262.8°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#34528E
RGBrgb(52, 82, 142)
HSLhsl(220, 46%, 38%)
HSVhsv(220, 63%, 56%)
CMYKcmyk(63.4%, 42.3%, 0%, 44.3%)
CIE-LABlab(35.43, 8.82, -36.63)
CIE-LCHlch(35.43, 37.67, 283.55°)
OKLaboklab(44.63% -0.0131 -0.1042)
OKLCHoklch(44.63% 0.105 262.8)
XYZxyz(9.3143, 8.7168, 26.7776)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34528E #8E7034
analogous
#347F8E #34528E #43348E
triadic
#34528E #8E3452 #528E34
tetradic
#34528E #8E347F #8E7034 #348E43
square
#34528E #8E347F #8E7034 #348E43
split-complementary
#34528E #8E4334 #7F8E34
monochromatic
#131E34 #243861 #34528E #446CBB #718FCB

Accessibility & contrast

On white

7.65
#34528E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#34528E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34528E
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34528E#FFFFFF#000000##FFFFFF
##34528E1.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375890
Deuteranopia (green-blind)
#2A4F8D
Tritanopia (blue-blind)
#006069
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #34528e;
/* rgb */ color: rgb(52, 82, 142);
/* oklch */ color: oklch(44.6% 0.105 262.8);
Tailwind
colors: {
  custom: {
    50: '#7482af',
    500: '#34528e',
    950: '#000000',
  },
}
SCSS
$custom: #34528e;
$custom-light: #7482af;
$custom-dark: #000000;
JSON
{
  "hex": "#34528e",
  "rgb": {
    "r": 52,
    "g": 82,
    "b": 142
  },
  "hsl": {
    "h": 220,
    "s": 46.392,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44626,
    "c": 0.10507,
    "h": 262.8
  },
  "luminance": 0.08718
}

Semantic roles & 50–950 ramp

primary
#34528E
secondary
#B39B6A
accent
#AA52D6
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #34528E

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

Preview Lab → · Contrast checker → · Palette generator →

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