#34508E#34508E

#34508E is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.2% C 0.108 H 264.2°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#34508E
RGBrgb(52, 80, 142)
HSLhsl(221, 46%, 38%)
HSVhsv(221, 63%, 56%)
CMYKcmyk(63.4%, 43.7%, 0%, 44.3%)
CIE-LABlab(34.84, 10.14, -37.57)
CIE-LCHlch(34.84, 38.91, 285.10°)
OKLaboklab(44.17% -0.0109 -0.107)
OKLCHoklch(44.17% 0.108 264.2)
XYZxyz(9.1656, 8.4196, 26.7281)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34508E #8E7234
analogous
#347D8E #34508E #45348E
triadic
#34508E #8E3450 #508E34
tetradic
#34508E #8E347D #8E7234 #348E45
square
#34508E #8E347D #8E7234 #348E45
split-complementary
#34508E #8E4534 #7D8E34
monochromatic
#131E34 #243761 #34508E #4469BB #718DCB

Accessibility & contrast

On white

7.82
#34508E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#34508E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34508E
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34508E#FFFFFF#000000##FFFFFF
##34508E1.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345690
Deuteranopia (green-blind)
#274E8D
Tritanopia (blue-blind)
#005E68
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #34508e;
/* rgb */ color: rgb(52, 80, 142);
/* oklch */ color: oklch(44.2% 0.108 264.2);
Tailwind
colors: {
  custom: {
    50: '#7480af',
    500: '#34508e',
    950: '#000000',
  },
}
SCSS
$custom: #34508e;
$custom-light: #7480af;
$custom-dark: #000000;
JSON
{
  "hex": "#34508e",
  "rgb": {
    "r": 52,
    "g": 80,
    "b": 142
  },
  "hsl": {
    "h": 221.333,
    "s": 46.392,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4417,
    "c": 0.1076,
    "h": 264.2
  },
  "luminance": 0.0842
}

Semantic roles & 50–950 ramp

primary
#34508E
secondary
#B39D6A
accent
#AD52D6
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #34508E

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

Preview Lab → · Contrast checker → · Palette generator →

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