#34589F#34589F

#34589F is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.1% C 0.122 H 262.4°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#34589F
RGBrgb(52, 88, 159)
HSLhsl(220, 51%, 41%)
HSVhsv(220, 67%, 62%)
CMYKcmyk(67.3%, 44.7%, 0%, 37.6%)
CIE-LABlab(38.22, 11.15, -42.44)
CIE-LCHlch(38.22, 43.88, 284.71°)
OKLaboklab(47.11% -0.0161 -0.1212)
OKLCHoklch(47.11% 0.122 262.4)
XYZxyz(11.1617, 10.2116, 34.1770)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34589F #9F7B34
analogous
#348E9F #34589F #46349F
triadic
#34589F #9F3458 #589F34
tetradic
#34589F #9F348E #9F7B34 #349F46
square
#34589F #9F348E #9F7B34 #349F46
split-complementary
#34589F #9F4634 #8E9F34
monochromatic
#162543 #253E71 #34589F #4C74C4 #7A98D3

Accessibility & contrast

On white

6.90
#34589F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#34589F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #34589F
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34589F#FFFFFF#000000##FFFFFF
##34589F1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365FA2
Deuteranopia (green-blind)
#24559E
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #34589f;
/* rgb */ color: rgb(52, 88, 159);
/* oklch */ color: oklch(47.1% 0.122 262.4);
Tailwind
colors: {
  custom: {
    50: '#7786bc',
    500: '#34589f',
    950: '#000000',
  },
}
SCSS
$custom: #34589f;
$custom-light: #7786bc;
$custom-dark: #000000;
JSON
{
  "hex": "#34589f",
  "rgb": {
    "r": 52,
    "g": 88,
    "b": 159
  },
  "hsl": {
    "h": 219.813,
    "s": 50.711,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47106,
    "c": 0.12229,
    "h": 262.4
  },
  "luminance": 0.10213
}

Semantic roles & 50–950 ramp

primary
#34589F
secondary
#BCA373
accent
#AB4EDA
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #34589F

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

Preview Lab → · Contrast checker → · Palette generator →

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