#34538D#34538D

#34538D is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.8% C 0.102 H 261.9°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#34538D
RGBrgb(52, 83, 141)
HSLhsl(219, 46%, 38%)
HSVhsv(219, 63%, 55%)
CMYKcmyk(63.1%, 41.1%, 0%, 44.7%)
CIE-LABlab(35.67, 7.80, -35.64)
CIE-LCHlch(35.67, 36.48, 282.35°)
OKLaboklab(44.79% -0.0145 -0.1013)
OKLCHoklch(44.79% 0.102 261.9)
XYZxyz(9.3155, 8.8388, 26.4093)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34538D #8D6E34
analogous
#347F8D #34538D #41348D
triadic
#34538D #8D3453 #538D34
tetradic
#34538D #8D347F #8D6E34 #348D41
square
#34538D #8D347F #8D6E34 #348D41
split-complementary
#34538D #8D4134 #7F8D34
monochromatic
#131E34 #243960 #34538D #446DBA #7190CB

Accessibility & contrast

On white

7.59
#34538D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#34538D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34538D
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34538D#FFFFFF#000000##FFFFFF
##34538D1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A588F
Deuteranopia (green-blind)
#2D508C
Tritanopia (blue-blind)
#006069
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #34538d;
/* rgb */ color: rgb(52, 83, 141);
/* oklch */ color: oklch(44.8% 0.102 261.9);
Tailwind
colors: {
  custom: {
    50: '#7483af',
    500: '#34538d',
    950: '#000000',
  },
}
SCSS
$custom: #34538d;
$custom-light: #7483af;
$custom-dark: #000000;
JSON
{
  "hex": "#34538d",
  "rgb": {
    "r": 52,
    "g": 83,
    "b": 141
  },
  "hsl": {
    "h": 219.101,
    "s": 46.114,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44791,
    "c": 0.10237,
    "h": 261.9
  },
  "luminance": 0.0884
}

Semantic roles & 50–950 ramp

primary
#34538D
secondary
#B3996A
accent
#A852D6
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #34538D

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

Preview Lab → · Contrast checker → · Palette generator →

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