#34598E#34598E

#34598E is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.3% C 0.097 H 257.5°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#34598E
RGBrgb(52, 89, 142)
HSLhsl(215, 46%, 38%)
HSVhsv(215, 63%, 56%)
CMYKcmyk(63.4%, 37.3%, 0%, 44.3%)
CIE-LABlab(37.53, 4.28, -33.30)
CIE-LCHlch(37.53, 33.57, 277.32°)
OKLaboklab(46.25% -0.021 -0.0944)
OKLCHoklch(46.25% 0.097 257.5)
XYZxyz(9.8693, 9.8269, 26.9626)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34598E #8E6934
analogous
#34868E #34598E #3C348E
triadic
#34598E #8E3459 #598E34
tetradic
#34598E #8E3486 #8E6934 #348E3C
square
#34598E #8E3486 #8E6934 #348E3C
split-complementary
#34598E #8E3C34 #868E34
monochromatic
#132134 #243D61 #34598E #4475BB #7196CB

Accessibility & contrast

On white

7.08
#34598E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#34598E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34598E
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34598E#FFFFFF#000000##FFFFFF
##34598E1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425D90
Deuteranopia (green-blind)
#36548D
Tritanopia (blue-blind)
#00656C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #34598e;
/* rgb */ color: rgb(52, 89, 142);
/* oklch */ color: oklch(46.3% 0.097 257.5);
Tailwind
colors: {
  custom: {
    50: '#7487af',
    500: '#34598e',
    950: '#000000',
  },
}
SCSS
$custom: #34598e;
$custom-light: #7487af;
$custom-dark: #000000;
JSON
{
  "hex": "#34598e",
  "rgb": {
    "r": 52,
    "g": 89,
    "b": 142
  },
  "hsl": {
    "h": 215.333,
    "s": 46.392,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46252,
    "c": 0.09672,
    "h": 257.5
  },
  "luminance": 0.09828
}

Semantic roles & 50–950 ramp

primary
#34598E
secondary
#B3956A
accent
#A052D6
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #34598E

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

Preview Lab → · Contrast checker → · Palette generator →

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