#34539B#34539B

#34539B is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.7% C 0.123 H 264.5°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#34539B
RGBrgb(52, 83, 155)
HSLhsl(222, 50%, 41%)
HSVhsv(222, 66%, 61%)
CMYKcmyk(66.5%, 46.5%, 0%, 39.2%)
CIE-LABlab(36.52, 12.94, -42.76)
CIE-LCHlch(36.52, 44.67, 286.84°)
OKLaboklab(45.72% -0.0117 -0.1222)
OKLCHoklch(45.72% 0.123 264.5)
XYZxyz(10.4238, 9.2822, 32.2463)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34539B #9B7C34
analogous
#34869B #34539B #49349B
triadic
#34539B #9B3453 #539B34
tetradic
#34539B #9B3486 #9B7C34 #349B49
square
#34539B #9B3486 #9B7C34 #349B49
split-complementary
#34539B #9B4934 #869B34
monochromatic
#15223F #253A6D #34539B #4A6EC2 #7893D2

Accessibility & contrast

On white

7.35
#34539B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#34539B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34539B
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34539B#FFFFFF#000000##FFFFFF
##34539B1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305B9E
Deuteranopia (green-blind)
#1D529A
Tritanopia (blue-blind)
#00646F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #34539b;
/* rgb */ color: rgb(52, 83, 155);
/* oklch */ color: oklch(45.7% 0.123 264.5);
Tailwind
colors: {
  custom: {
    50: '#7782b9',
    500: '#34539b',
    950: '#000000',
  },
}
SCSS
$custom: #34539b;
$custom-light: #7782b9;
$custom-dark: #000000;
JSON
{
  "hex": "#34539b",
  "rgb": {
    "r": 52,
    "g": 83,
    "b": 155
  },
  "hsl": {
    "h": 221.942,
    "s": 49.758,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45721,
    "c": 0.1228,
    "h": 264.5
  },
  "luminance": 0.09283
}

Semantic roles & 50–950 ramp

primary
#34539B
secondary
#BAA471
accent
#B04FD9
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #34539B

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

Preview Lab → · Contrast checker → · Palette generator →

#34539B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva