#34588F#34588F

#34588F is a mid, moderate blue. Relative luminance 0.097; OKLCH L 46.1% C 0.099 H 258.6°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#34588F
RGBrgb(52, 88, 143)
HSLhsl(216, 47%, 38%)
HSVhsv(216, 64%, 56%)
CMYKcmyk(63.6%, 38.5%, 0%, 43.9%)
CIE-LABlab(37.28, 5.28, -34.30)
CIE-LCHlch(37.28, 34.70, 278.76°)
OKLaboklab(46.08% -0.0196 -0.0974)
OKLCHoklch(46.08% 0.099 258.6)
XYZxyz(9.8621, 9.6918, 27.3323)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34588F #8F6B34
analogous
#34858F #34588F #3D348F
triadic
#34588F #8F3458 #588F34
tetradic
#34588F #8F3485 #8F6B34 #348F3D
square
#34588F #8F3485 #8F6B34 #348F3D
split-complementary
#34588F #8F3D34 #858F34
monochromatic
#132135 #243C62 #34588F #4574BB #7295CC

Accessibility & contrast

On white

7.15
#34588F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#34588F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34588F
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34588F#FFFFFF#000000##FFFFFF
##34588F1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405C91
Deuteranopia (green-blind)
#34548E
Tritanopia (blue-blind)
#00646C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #34588f;
/* rgb */ color: rgb(52, 88, 143);
/* oklch */ color: oklch(46.1% 0.099 258.6);
Tailwind
colors: {
  custom: {
    50: '#7486b0',
    500: '#34588f',
    950: '#000000',
  },
}
SCSS
$custom: #34588f;
$custom-light: #7486b0;
$custom-dark: #000000;
JSON
{
  "hex": "#34588f",
  "rgb": {
    "r": 52,
    "g": 88,
    "b": 143
  },
  "hsl": {
    "h": 216.264,
    "s": 46.667,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46078,
    "c": 0.0993,
    "h": 258.6
  },
  "luminance": 0.09693
}

Semantic roles & 50–950 ramp

primary
#34588F
secondary
#B4976B
accent
#A251D6
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #34588F

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

Preview Lab → · Contrast checker → · Palette generator →

#34588F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva