#34598F#34598F

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

Color values

HEX#34598F
RGBrgb(52, 89, 143)
HSLhsl(216, 47%, 38%)
HSVhsv(216, 64%, 56%)
CMYKcmyk(63.6%, 37.8%, 0%, 43.9%)
CIE-LABlab(37.58, 4.64, -33.82)
CIE-LCHlch(37.58, 34.14, 277.81°)
OKLaboklab(46.31% -0.0207 -0.0959)
OKLCHoklch(46.31% 0.098 257.8)
XYZxyz(9.9447, 9.8571, 27.3598)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34598F #8F6A34
analogous
#34868F #34598F #3C348F
triadic
#34598F #8F3459 #598F34
tetradic
#34598F #8F3486 #8F6A34 #348F3C
square
#34598F #8F3486 #8F6A34 #348F3C
split-complementary
#34598F #8F3C34 #868F34
monochromatic
#132135 #243D62 #34598F #4575BB #7296CC

Accessibility & contrast

On white

7.07
#34598F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34598F
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34598F#FFFFFF#000000##FFFFFF
##34598F1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425D91
Deuteranopia (green-blind)
#35558E
Tritanopia (blue-blind)
#00656D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #34598f;
/* rgb */ color: rgb(52, 89, 143);
/* oklch */ color: oklch(46.3% 0.098 257.8);
Tailwind
colors: {
  custom: {
    50: '#7487b0',
    500: '#34598f',
    950: '#000000',
  },
}
SCSS
$custom: #34598f;
$custom-light: #7487b0;
$custom-dark: #000000;
JSON
{
  "hex": "#34598f",
  "rgb": {
    "r": 52,
    "g": 89,
    "b": 143
  },
  "hsl": {
    "h": 215.604,
    "s": 46.667,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46312,
    "c": 0.09815,
    "h": 257.8
  },
  "luminance": 0.09858
}

Semantic roles & 50–950 ramp

primary
#34598F
secondary
#B4966B
accent
#A051D6
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #34598F

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

Preview Lab → · Contrast checker → · Palette generator →

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