#34558D#34558D

#34558D is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.3% C 0.100 H 260.4°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#34558D
RGBrgb(52, 85, 141)
HSLhsl(218, 46%, 38%)
HSVhsv(218, 63%, 55%)
CMYKcmyk(63.1%, 39.7%, 0%, 44.7%)
CIE-LABlab(36.27, 6.50, -34.69)
CIE-LCHlch(36.27, 35.29, 280.61°)
OKLaboklab(45.26% -0.0167 -0.0985)
OKLCHoklch(45.26% 0.1 260.4)
XYZxyz(9.4707, 9.1493, 26.4610)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34558D #8D6C34
analogous
#34818D #34558D #40348D
triadic
#34558D #8D3455 #558D34
tetradic
#34558D #8D3481 #8D6C34 #348D40
square
#34558D #8D3481 #8D6C34 #348D40
split-complementary
#34558D #8D4034 #818D34
monochromatic
#131F34 #243A60 #34558D #4470BA #7192CB

Accessibility & contrast

On white

7.42
#34558D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#34558D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34558D
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34558D#FFFFFF#000000##FFFFFF
##34558D1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5A8F
Deuteranopia (green-blind)
#30528C
Tritanopia (blue-blind)
#00626A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #34558d;
/* rgb */ color: rgb(52, 85, 141);
/* oklch */ color: oklch(45.3% 0.100 260.4);
Tailwind
colors: {
  custom: {
    50: '#7484ae',
    500: '#34558d',
    950: '#000000',
  },
}
SCSS
$custom: #34558d;
$custom-light: #7484ae;
$custom-dark: #000000;
JSON
{
  "hex": "#34558d",
  "rgb": {
    "r": 52,
    "g": 85,
    "b": 141
  },
  "hsl": {
    "h": 217.753,
    "s": 46.114,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45255,
    "c": 0.09994,
    "h": 260.4
  },
  "luminance": 0.0915
}

Semantic roles & 50–950 ramp

primary
#34558D
secondary
#B3986A
accent
#A552D6
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #34558D

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

Preview Lab → · Contrast checker → · Palette generator →

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