#34589B#34589B

#34589B is a mid, moderate blue. Relative luminance 0.101; OKLCH L 46.8% C 0.117 H 261.7°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#34589B
RGBrgb(52, 88, 155)
HSLhsl(219, 50%, 41%)
HSVhsv(219, 66%, 61%)
CMYKcmyk(66.5%, 43.2%, 0%, 39.2%)
CIE-LABlab(37.98, 9.67, -40.43)
CIE-LCHlch(37.98, 41.57, 283.45°)
OKLaboklab(46.84% -0.0169 -0.1153)
OKLCHoklch(46.84% 0.117 261.7)
XYZxyz(10.8202, 10.0750, 32.3784)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34589B #9B7734
analogous
#348B9B #34589B #43349B
triadic
#34589B #9B3458 #589B34
tetradic
#34589B #9B348B #9B7734 #349B43
square
#34589B #9B348B #9B7734 #349B43
split-complementary
#34589B #9B4334 #8B9B34
monochromatic
#15243F #253E6D #34589B #4A74C2 #7897D2

Accessibility & contrast

On white

6.96
#34589B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#34589B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #34589B
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34589B#FFFFFF#000000##FFFFFF
##34589B1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395F9E
Deuteranopia (green-blind)
#29559A
Tritanopia (blue-blind)
#006772
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #34589b;
/* rgb */ color: rgb(52, 88, 155);
/* oklch */ color: oklch(46.8% 0.117 261.7);
Tailwind
colors: {
  custom: {
    50: '#7786b9',
    500: '#34589b',
    950: '#000000',
  },
}
SCSS
$custom: #34589b;
$custom-light: #7786b9;
$custom-dark: #000000;
JSON
{
  "hex": "#34589b",
  "rgb": {
    "r": 52,
    "g": 88,
    "b": 155
  },
  "hsl": {
    "h": 219.029,
    "s": 49.758,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4684,
    "c": 0.11656,
    "h": 261.7
  },
  "luminance": 0.10076
}

Semantic roles & 50–950 ramp

primary
#34589B
secondary
#BAA071
accent
#A94FD9
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #34589B

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

Preview Lab → · Contrast checker → · Palette generator →

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