#34539E#34539E

#34539E is a mid, vivid blue. Relative luminance 0.094; OKLCH L 45.9% C 0.127 H 264.9°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#34539E
RGBrgb(52, 83, 158)
HSLhsl(222, 50%, 41%)
HSVhsv(222, 67%, 62%)
CMYKcmyk(67.1%, 47.5%, 0%, 38%)
CIE-LABlab(36.71, 14.05, -44.25)
CIE-LCHlch(36.71, 46.43, 287.62°)
OKLaboklab(45.93% -0.0112 -0.1266)
OKLCHoklch(45.93% 0.127 264.9)
XYZxyz(10.6788, 9.3842, 33.5897)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34539E #9E7F34
analogous
#34889E #34539E #4A349E
triadic
#34539E #9E3453 #539E34
tetradic
#34539E #9E3488 #9E7F34 #349E4A
square
#34539E #9E3488 #9E7F34 #349E4A
split-complementary
#34539E #9E4A34 #889E34
monochromatic
#162342 #253B70 #34539E #4B6FC4 #7994D3

Accessibility & contrast

On white

7.30
#34539E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#34539E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34539E
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34539E#FFFFFF#000000##FFFFFF
##34539E1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5CA1
Deuteranopia (green-blind)
#18529C
Tritanopia (blue-blind)
#006471
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #34539e;
/* rgb */ color: rgb(52, 83, 158);
/* oklch */ color: oklch(45.9% 0.127 264.9);
Tailwind
colors: {
  custom: {
    50: '#7782bb',
    500: '#34539e',
    950: '#000000',
  },
}
SCSS
$custom: #34539e;
$custom-light: #7782bb;
$custom-dark: #000000;
JSON
{
  "hex": "#34539e",
  "rgb": {
    "r": 52,
    "g": 83,
    "b": 158
  },
  "hsl": {
    "h": 222.453,
    "s": 50.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4593,
    "c": 0.12714,
    "h": 264.9
  },
  "luminance": 0.09385
}

Semantic roles & 50–950 ramp

primary
#34539E
secondary
#BCA672
accent
#B14EDA
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #34539E

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

Preview Lab → · Contrast checker → · Palette generator →

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