#34589D#34589D

#34589D is a mid, moderate blue. Relative luminance 0.101; OKLCH L 47.0% C 0.119 H 262.1°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#34589D
RGBrgb(52, 88, 157)
HSLhsl(219, 50%, 41%)
HSVhsv(219, 67%, 62%)
CMYKcmyk(66.9%, 43.9%, 0%, 38.4%)
CIE-LABlab(38.10, 10.41, -41.44)
CIE-LCHlch(38.10, 42.72, 284.10°)
OKLaboklab(46.97% -0.0165 -0.1183)
OKLCHoklch(46.97% 0.119 262.1)
XYZxyz(10.9896, 10.1428, 33.2704)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34589D #9D7934
analogous
#348C9D #34589D #45349D
triadic
#34589D #9D3458 #589D34
tetradic
#34589D #9D348C #9D7934 #349D45
square
#34589D #9D348C #9D7934 #349D45
split-complementary
#34589D #9D4534 #8C9D34
monochromatic
#162441 #253E6F #34589D #4B74C3 #7998D3

Accessibility & contrast

On white

6.93
#34589D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#34589D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #34589D
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34589D#FFFFFF#000000##FFFFFF
##34589D1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385FA0
Deuteranopia (green-blind)
#26559C
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #34589d;
/* rgb */ color: rgb(52, 88, 157);
/* oklch */ color: oklch(47.0% 0.119 262.1);
Tailwind
colors: {
  custom: {
    50: '#7786ba',
    500: '#34589d',
    950: '#000000',
  },
}
SCSS
$custom: #34589d;
$custom-light: #7786ba;
$custom-dark: #000000;
JSON
{
  "hex": "#34589d",
  "rgb": {
    "r": 52,
    "g": 88,
    "b": 157
  },
  "hsl": {
    "h": 219.429,
    "s": 50.239,
    "l": 40.98
  },
  "oklch": {
    "l": 0.46973,
    "c": 0.11943,
    "h": 262.1
  },
  "luminance": 0.10144
}

Semantic roles & 50–950 ramp

primary
#34589D
secondary
#BBA272
accent
#AA4EDA
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #34589D

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

Preview Lab → · Contrast checker → · Palette generator →

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