#34599C#34599C

#34599C is a mid, moderate blue. Relative luminance 0.103; OKLCH L 47.1% C 0.117 H 261.3°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#34599C
RGBrgb(52, 89, 156)
HSLhsl(219, 50%, 41%)
HSVhsv(219, 67%, 61%)
CMYKcmyk(66.7%, 42.9%, 0%, 38.8%)
CIE-LABlab(38.33, 9.39, -40.47)
CIE-LCHlch(38.33, 41.54, 283.06°)
OKLaboklab(47.13% -0.0177 -0.1154)
OKLCHoklch(47.13% 0.117 261.3)
XYZxyz(10.9872, 10.2741, 32.8501)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34599C #9C7734
analogous
#348D9C #34599C #43349C
triadic
#34599C #9C3459 #599C34
tetradic
#34599C #9C348D #9C7734 #349C43
square
#34599C #9C348D #9C7734 #349C43
split-complementary
#34599C #9C4334 #8D9C34
monochromatic
#152540 #253F6E #34599C #4A75C3 #7898D2

Accessibility & contrast

On white

6.87
#34599C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#34599C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #34599C
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34599C#FFFFFF#000000##FFFFFF
##34599C1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5F9F
Deuteranopia (green-blind)
#2A569B
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #34599c;
/* rgb */ color: rgb(52, 89, 156);
/* oklch */ color: oklch(47.1% 0.117 261.3);
Tailwind
colors: {
  custom: {
    50: '#7787b9',
    500: '#34599c',
    950: '#000000',
  },
}
SCSS
$custom: #34599c;
$custom-light: #7787b9;
$custom-dark: #000000;
JSON
{
  "hex": "#34599c",
  "rgb": {
    "r": 52,
    "g": 89,
    "b": 156
  },
  "hsl": {
    "h": 218.654,
    "s": 50,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47133,
    "c": 0.11677,
    "h": 261.3
  },
  "luminance": 0.10275
}

Semantic roles & 50–950 ramp

primary
#34599C
secondary
#BBA171
accent
#A84EDA
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #34599C

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

Preview Lab → · Contrast checker → · Palette generator →

#34599C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva