#34499D#34499D

#34499D is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.7% C 0.139 H 269.3°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#34499D
RGBrgb(52, 73, 157)
HSLhsl(228, 50%, 41%)
HSVhsv(228, 67%, 62%)
CMYKcmyk(66.9%, 53.5%, 0%, 38.4%)
CIE-LABlab(33.83, 20.31, -48.29)
CIE-LCHlch(33.83, 52.39, 292.81°)
OKLaboklab(43.72% -0.0016 -0.1387)
OKLCHoklch(43.72% 0.139 269.3)
XYZxyz(9.8824, 7.9286, 32.9013)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34499D #9D8834
analogous
#347D9D #34499D #53349D
triadic
#34499D #9D3449 #499D34
tetradic
#34499D #9D347D #9D8834 #349D53
square
#34499D #9D347D #9D8834 #349D53
split-complementary
#34499D #9D5334 #7D9D34
monochromatic
#161E41 #25346F #34499D #4B63C3 #798BD3

Accessibility & contrast

On white

8.12
#34499D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#34499D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34499D
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34499D#FFFFFF#000000##FFFFFF
##34499D1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1355A0
Deuteranopia (green-blind)
#004B9B
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #34499d;
/* rgb */ color: rgb(52, 73, 157);
/* oklch */ color: oklch(43.7% 0.139 269.3);
Tailwind
colors: {
  custom: {
    50: '#787bba',
    500: '#34499d',
    950: '#000000',
  },
}
SCSS
$custom: #34499d;
$custom-light: #787bba;
$custom-dark: #000000;
JSON
{
  "hex": "#34499d",
  "rgb": {
    "r": 52,
    "g": 73,
    "b": 157
  },
  "hsl": {
    "h": 228,
    "s": 50.239,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43718,
    "c": 0.13867,
    "h": 269.3
  },
  "luminance": 0.07929
}

Semantic roles & 50–950 ramp

primary
#34499D
secondary
#BBAC72
accent
#BE4EDA
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #34499D

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

Preview Lab → · Contrast checker → · Palette generator →

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