#34589C#34589C

#34589C is a mid, moderate blue. Relative luminance 0.101; OKLCH L 46.9% C 0.118 H 261.9°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#34589C
RGBrgb(52, 88, 156)
HSLhsl(219, 50%, 41%)
HSVhsv(219, 67%, 61%)
CMYKcmyk(66.7%, 43.6%, 0%, 38.8%)
CIE-LABlab(38.04, 10.04, -40.93)
CIE-LCHlch(38.04, 42.15, 283.78°)
OKLaboklab(46.91% -0.0167 -0.1168)
OKLCHoklch(46.91% 0.118 261.9)
XYZxyz(10.9045, 10.1088, 32.8226)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34589C #9C7834
analogous
#348C9C #34589C #44349C
triadic
#34589C #9C3458 #589C34
tetradic
#34589C #9C348C #9C7834 #349C44
square
#34589C #9C348C #9C7834 #349C44
split-complementary
#34589C #9C4434 #8C9C34
monochromatic
#152440 #253E6E #34589C #4A74C3 #7897D2

Accessibility & contrast

On white

6.95
#34589C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#34589C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #34589C
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34589C#FFFFFF#000000##FFFFFF
##34589C1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385F9F
Deuteranopia (green-blind)
#28559B
Tritanopia (blue-blind)
#006872
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #34589c;
/* rgb */ color: rgb(52, 88, 156);
/* oklch */ color: oklch(46.9% 0.118 261.9);
Tailwind
colors: {
  custom: {
    50: '#7786b9',
    500: '#34589c',
    950: '#000000',
  },
}
SCSS
$custom: #34589c;
$custom-light: #7786b9;
$custom-dark: #000000;
JSON
{
  "hex": "#34589c",
  "rgb": {
    "r": 52,
    "g": 88,
    "b": 156
  },
  "hsl": {
    "h": 219.231,
    "s": 50,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46906,
    "c": 0.11799,
    "h": 261.9
  },
  "luminance": 0.1011
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #34589C

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

Preview Lab → · Contrast checker → · Palette generator →

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