#34499B#34499B

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

Color values

HEX#34499B
RGBrgb(52, 73, 155)
HSLhsl(228, 50%, 41%)
HSVhsv(228, 66%, 61%)
CMYKcmyk(66.5%, 52.9%, 0%, 39.2%)
CIE-LABlab(33.69, 19.58, -47.31)
CIE-LCHlch(33.69, 51.20, 292.48°)
OKLaboklab(43.57% -0.0018 -0.1358)
OKLCHoklch(43.57% 0.136 269.3)
XYZxyz(9.7131, 7.8608, 32.0094)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34499B #9B8634
analogous
#347C9B #34499B #52349B
triadic
#34499B #9B3449 #499B34
tetradic
#34499B #9B347C #9B8634 #349B52
square
#34499B #9B347C #9B8634 #349B52
split-complementary
#34499B #9B5234 #7C9B34
monochromatic
#151E3F #25336D #34499B #4A62C2 #788AD2

Accessibility & contrast

On white

8.16
#34499B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#34499B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34499B
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34499B#FFFFFF#000000##FFFFFF
##34499B1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16549E
Deuteranopia (green-blind)
#004B99
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #34499b;
/* rgb */ color: rgb(52, 73, 155);
/* oklch */ color: oklch(43.6% 0.136 269.3);
Tailwind
colors: {
  custom: {
    50: '#777bb9',
    500: '#34499b',
    950: '#000000',
  },
}
SCSS
$custom: #34499b;
$custom-light: #777bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#34499b",
  "rgb": {
    "r": 52,
    "g": 73,
    "b": 155
  },
  "hsl": {
    "h": 227.767,
    "s": 49.758,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43566,
    "c": 0.13579,
    "h": 269.3
  },
  "luminance": 0.07862
}

Semantic roles & 50–950 ramp

primary
#34499B
secondary
#BAAB71
accent
#BD4FD9
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #34499B

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

Preview Lab → · Contrast checker → · Palette generator →

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