#34558C#34558C

#34558C is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.2% C 0.098 H 260.1°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#34558C
RGBrgb(52, 85, 140)
HSLhsl(218, 46%, 38%)
HSVhsv(218, 63%, 55%)
CMYKcmyk(62.9%, 39.3%, 0%, 45.1%)
CIE-LABlab(36.21, 6.14, -34.17)
CIE-LCHlch(36.21, 34.72, 280.18°)
OKLaboklab(45.19% -0.017 -0.097)
OKLCHoklch(45.19% 0.098 260.1)
XYZxyz(9.3966, 9.1197, 26.0709)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34558C #8C6B34
analogous
#34818C #34558C #3F348C
triadic
#34558C #8C3455 #558C34
tetradic
#34558C #8C3481 #8C6B34 #348C3F
square
#34558C #8C3481 #8C6B34 #348C3F
split-complementary
#34558C #8C3F34 #818C34
monochromatic
#131F33 #233A5F #34558C #4570B9 #7092CA

Accessibility & contrast

On white

7.44
#34558C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#34558C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34558C
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34558C#FFFFFF#000000##FFFFFF
##34558C1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5A8E
Deuteranopia (green-blind)
#31518B
Tritanopia (blue-blind)
#006169
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #34558c;
/* rgb */ color: rgb(52, 85, 140);
/* oklch */ color: oklch(45.2% 0.098 260.1);
Tailwind
colors: {
  custom: {
    50: '#7484ae',
    500: '#34558c',
    950: '#000000',
  },
}
SCSS
$custom: #34558c;
$custom-light: #7484ae;
$custom-dark: #000000;
JSON
{
  "hex": "#34558c",
  "rgb": {
    "r": 52,
    "g": 85,
    "b": 140
  },
  "hsl": {
    "h": 217.5,
    "s": 45.833,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45192,
    "c": 0.09848,
    "h": 260.1
  },
  "luminance": 0.09121
}

Semantic roles & 50–950 ramp

primary
#34558C
secondary
#B2976A
accent
#A452D5
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #34558C

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

Preview Lab → · Contrast checker → · Palette generator →

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