#34548D#34548D

#34548D is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.0% C 0.101 H 261.1°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#34548D
RGBrgb(52, 84, 141)
HSLhsl(218, 46%, 38%)
HSVhsv(218, 63%, 55%)
CMYKcmyk(63.1%, 40.4%, 0%, 44.7%)
CIE-LABlab(35.97, 7.15, -35.16)
CIE-LCHlch(35.97, 35.88, 281.49°)
OKLaboklab(45.02% -0.0156 -0.0999)
OKLCHoklch(45.02% 0.101 261.1)
XYZxyz(9.3925, 8.9930, 26.4350)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34548D #8D6D34
analogous
#34808D #34548D #40348D
triadic
#34548D #8D3454 #548D34
tetradic
#34548D #8D3480 #8D6D34 #348D40
square
#34548D #8D3480 #8D6D34 #348D40
split-complementary
#34548D #8D4034 #808D34
monochromatic
#131F34 #243960 #34548D #446FBA #7191CB

Accessibility & contrast

On white

7.50
#34548D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#34548D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34548D
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34548D#FFFFFF#000000##FFFFFF
##34548D1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B598F
Deuteranopia (green-blind)
#2F518C
Tritanopia (blue-blind)
#006169
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #34548d;
/* rgb */ color: rgb(52, 84, 141);
/* oklch */ color: oklch(45.0% 0.101 261.1);
Tailwind
colors: {
  custom: {
    50: '#7483ae',
    500: '#34548d',
    950: '#000000',
  },
}
SCSS
$custom: #34548d;
$custom-light: #7483ae;
$custom-dark: #000000;
JSON
{
  "hex": "#34548d",
  "rgb": {
    "r": 52,
    "g": 84,
    "b": 141
  },
  "hsl": {
    "h": 218.427,
    "s": 46.114,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45022,
    "c": 0.10115,
    "h": 261.1
  },
  "luminance": 0.08994
}

Semantic roles & 50–950 ramp

primary
#34548D
secondary
#B3996A
accent
#A652D6
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #34548D

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

Preview Lab → · Contrast checker → · Palette generator →

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