#34527F#34527F

#34527F is a dark, moderate blue. Relative luminance 0.083; OKLCH L 43.7% C 0.083 H 258.3°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#34527F
RGBrgb(52, 82, 127)
HSLhsl(216, 42%, 35%)
HSVhsv(216, 59%, 50%)
CMYKcmyk(59.1%, 35.4%, 0%, 50.2%)
CIE-LABlab(34.59, 3.43, -28.76)
CIE-LCHlch(34.59, 28.97, 276.79°)
OKLaboklab(43.7% -0.0169 -0.0813)
OKLCHoklch(43.7% 0.083 258.3)
XYZxyz(8.2629, 8.2963, 21.2405)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34527F #7F6134
analogous
#34777F #34527F #3C347F
triadic
#34527F #7F3452 #527F34
tetradic
#34527F #7F3477 #7F6134 #347F3C
square
#34527F #7F3477 #7F6134 #347F3C
split-complementary
#34527F #7F3C34 #777F34
monochromatic
#101A28 #223654 #34527F #466EAA #6B8EC2

Accessibility & contrast

On white

7.90
#34527F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#34527F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34527F
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34527F#FFFFFF#000000##FFFFFF
##34527F1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405581
Deuteranopia (green-blind)
#364E7E
Tritanopia (blue-blind)
#005C62
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #34527f;
/* rgb */ color: rgb(52, 82, 127);
/* oklch */ color: oklch(43.7% 0.083 258.3);
Tailwind
colors: {
  custom: {
    50: '#7282a4',
    500: '#34527f',
    950: '#000000',
  },
}
SCSS
$custom: #34527f;
$custom-light: #7282a4;
$custom-dark: #000000;
JSON
{
  "hex": "#34527f",
  "rgb": {
    "r": 52,
    "g": 82,
    "b": 127
  },
  "hsl": {
    "h": 216,
    "s": 41.899,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43699,
    "c": 0.083,
    "h": 258.3
  },
  "luminance": 0.08297
}

Semantic roles & 50–950 ramp

primary
#34527F
secondary
#AA8E64
accent
#A056D2
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #34527F

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

Preview Lab → · Contrast checker → · Palette generator →

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