#34589E#34589E

#34589E is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.0% C 0.121 H 262.3°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#34589E
RGBrgb(52, 88, 158)
HSLhsl(220, 50%, 41%)
HSVhsv(220, 67%, 62%)
CMYKcmyk(67.1%, 44.3%, 0%, 38%)
CIE-LABlab(38.16, 10.78, -41.94)
CIE-LCHlch(38.16, 43.30, 284.41°)
OKLaboklab(47.04% -0.0163 -0.1198)
OKLCHoklch(47.04% 0.121 262.3)
XYZxyz(11.0753, 10.1771, 33.7218)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34589E #9E7A34
analogous
#348D9E #34589E #45349E
triadic
#34589E #9E3458 #589E34
tetradic
#34589E #9E348D #9E7A34 #349E45
square
#34589E #9E348D #9E7A34 #349E45
split-complementary
#34589E #9E4534 #8D9E34
monochromatic
#162542 #253E70 #34589E #4B74C4 #7998D3

Accessibility & contrast

On white

6.92
#34589E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#34589E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #34589E
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34589E#FFFFFF#000000##FFFFFF
##34589E1.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375FA1
Deuteranopia (green-blind)
#25559D
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #34589e;
/* rgb */ color: rgb(52, 88, 158);
/* oklch */ color: oklch(47.0% 0.121 262.3);
Tailwind
colors: {
  custom: {
    50: '#7786bb',
    500: '#34589e',
    950: '#000000',
  },
}
SCSS
$custom: #34589e;
$custom-light: #7786bb;
$custom-dark: #000000;
JSON
{
  "hex": "#34589e",
  "rgb": {
    "r": 52,
    "g": 88,
    "b": 158
  },
  "hsl": {
    "h": 219.623,
    "s": 50.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47039,
    "c": 0.12086,
    "h": 262.3
  },
  "luminance": 0.10178
}

Semantic roles & 50–950 ramp

primary
#34589E
secondary
#BCA372
accent
#AA4EDA
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #34589E

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

Preview Lab → · Contrast checker → · Palette generator →

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