#34589A#34589A

#34589A is a mid, moderate blue. Relative luminance 0.100; OKLCH L 46.8% C 0.115 H 261.5°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#34589A
RGBrgb(52, 88, 154)
HSLhsl(219, 50%, 40%)
HSVhsv(219, 66%, 60%)
CMYKcmyk(66.2%, 42.9%, 0%, 39.6%)
CIE-LABlab(37.92, 9.30, -39.93)
CIE-LCHlch(37.92, 40.99, 283.11°)
OKLaboklab(46.78% -0.0171 -0.1138)
OKLCHoklch(46.78% 0.115 261.5)
XYZxyz(10.7366, 10.0416, 31.9380)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34589A #9A7634
analogous
#348B9A #34589A #43349A
triadic
#34589A #9A3458 #589A34
tetradic
#34589A #9A348B #9A7634 #349A43
square
#34589A #9A348B #9A7634 #349A43
split-complementary
#34589A #9A4334 #8B9A34
monochromatic
#15243E #253E6C #34589A #4974C2 #7797D1

Accessibility & contrast

On white

6.98
#34589A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#34589A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #34589A
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34589A#FFFFFF#000000##FFFFFF
##34589A1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5E9D
Deuteranopia (green-blind)
#2A5599
Tritanopia (blue-blind)
#006771
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #34589a;
/* rgb */ color: rgb(52, 88, 154);
/* oklch */ color: oklch(46.8% 0.115 261.5);
Tailwind
colors: {
  custom: {
    50: '#7686b8',
    500: '#34589a',
    950: '#000000',
  },
}
SCSS
$custom: #34589a;
$custom-light: #7686b8;
$custom-dark: #000000;
JSON
{
  "hex": "#34589a",
  "rgb": {
    "r": 52,
    "g": 88,
    "b": 154
  },
  "hsl": {
    "h": 218.824,
    "s": 49.515,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46775,
    "c": 0.11512,
    "h": 261.5
  },
  "luminance": 0.10043
}

Semantic roles & 50–950 ramp

primary
#34589A
secondary
#BAA070
accent
#A84FD9
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #34589A

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

Preview Lab → · Contrast checker → · Palette generator →

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