#34499C#34499C

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

Color values

HEX#34499C
RGBrgb(52, 73, 156)
HSLhsl(228, 50%, 41%)
HSVhsv(228, 67%, 61%)
CMYKcmyk(66.7%, 53.2%, 0%, 38.8%)
CIE-LABlab(33.76, 19.94, -47.80)
CIE-LCHlch(33.76, 51.79, 292.65°)
OKLaboklab(43.64% -0.0017 -0.1372)
OKLCHoklch(43.64% 0.137 269.3)
XYZxyz(9.7974, 7.8946, 32.4535)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34499C #9C8734
analogous
#347D9C #34499C #53349C
triadic
#34499C #9C3449 #499C34
tetradic
#34499C #9C347D #9C8734 #349C53
square
#34499C #9C347D #9C8734 #349C53
split-complementary
#34499C #9C5334 #7D9C34
monochromatic
#151E40 #25346E #34499C #4A63C3 #788AD2

Accessibility & contrast

On white

8.14
#34499C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#34499C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34499C
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34499C#FFFFFF#000000##FFFFFF
##34499C1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15549F
Deuteranopia (green-blind)
#004B9A
Tritanopia (blue-blind)
#005D6B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #34499c;
/* rgb */ color: rgb(52, 73, 156);
/* oklch */ color: oklch(43.6% 0.137 269.3);
Tailwind
colors: {
  custom: {
    50: '#777bba',
    500: '#34499c',
    950: '#000000',
  },
}
SCSS
$custom: #34499c;
$custom-light: #777bba;
$custom-dark: #000000;
JSON
{
  "hex": "#34499c",
  "rgb": {
    "r": 52,
    "g": 73,
    "b": 156
  },
  "hsl": {
    "h": 227.885,
    "s": 50,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43642,
    "c": 0.13723,
    "h": 269.3
  },
  "luminance": 0.07895
}

Semantic roles & 50–950 ramp

primary
#34499C
secondary
#BBAC71
accent
#BD4EDA
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #34499C

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

Preview Lab → · Contrast checker → · Palette generator →

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