#34539A#34539A

#34539A is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.7% C 0.121 H 264.4°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#34539A
RGBrgb(52, 83, 154)
HSLhsl(222, 50%, 40%)
HSVhsv(222, 66%, 60%)
CMYKcmyk(66.2%, 46.1%, 0%, 39.6%)
CIE-LABlab(36.46, 12.57, -42.26)
CIE-LCHlch(36.46, 44.09, 286.57°)
OKLaboklab(45.65% -0.0119 -0.1208)
OKLCHoklch(45.65% 0.121 264.4)
XYZxyz(10.3401, 9.2487, 31.8058)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34539A #9A7B34
analogous
#34869A #34539A #48349A
triadic
#34539A #9A3453 #539A34
tetradic
#34539A #9A3486 #9A7B34 #349A48
square
#34539A #9A3486 #9A7B34 #349A48
split-complementary
#34539A #9A4834 #869A34
monochromatic
#15223E #253A6C #34539A #496EC2 #7793D1

Accessibility & contrast

On white

7.37
#34539A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#34539A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34539A
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34539A#FFFFFF#000000##FFFFFF
##34539A1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305B9D
Deuteranopia (green-blind)
#1F5199
Tritanopia (blue-blind)
#00636F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #34539a;
/* rgb */ color: rgb(52, 83, 154);
/* oklch */ color: oklch(45.7% 0.121 264.4);
Tailwind
colors: {
  custom: {
    50: '#7682b8',
    500: '#34539a',
    950: '#000000',
  },
}
SCSS
$custom: #34539a;
$custom-light: #7682b8;
$custom-dark: #000000;
JSON
{
  "hex": "#34539a",
  "rgb": {
    "r": 52,
    "g": 83,
    "b": 154
  },
  "hsl": {
    "h": 221.765,
    "s": 49.515,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45652,
    "c": 0.12135,
    "h": 264.4
  },
  "luminance": 0.0925
}

Semantic roles & 50–950 ramp

primary
#34539A
secondary
#BAA370
accent
#AF4FD9
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #34539A

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

Preview Lab → · Contrast checker → · Palette generator →

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