#34499A#34499A

#34499A is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.5% C 0.134 H 269.2°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#34499A
RGBrgb(52, 73, 154)
HSLhsl(228, 50%, 40%)
HSVhsv(228, 66%, 60%)
CMYKcmyk(66.2%, 52.6%, 0%, 39.6%)
CIE-LABlab(33.62, 19.21, -46.82)
CIE-LCHlch(33.62, 50.61, 292.31°)
OKLaboklab(43.49% -0.0019 -0.1343)
OKLCHoklch(43.49% 0.134 269.2)
XYZxyz(9.6295, 7.8274, 31.5690)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34499A #9A8534
analogous
#347C9A #34499A #52349A
triadic
#34499A #9A3449 #499A34
tetradic
#34499A #9A347C #9A8534 #349A52
square
#34499A #9A347C #9A8534 #349A52
split-complementary
#34499A #9A5234 #7C9A34
monochromatic
#151E3E #25336C #34499A #4962C2 #778AD1

Accessibility & contrast

On white

8.19
#34499A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34499A
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34499A#FFFFFF#000000##FFFFFF
##34499A1.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18549D
Deuteranopia (green-blind)
#004B98
Tritanopia (blue-blind)
#005C6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #34499a;
/* rgb */ color: rgb(52, 73, 154);
/* oklch */ color: oklch(43.5% 0.134 269.2);
Tailwind
colors: {
  custom: {
    50: '#777bb8',
    500: '#34499a',
    950: '#000000',
  },
}
SCSS
$custom: #34499a;
$custom-light: #777bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#34499a",
  "rgb": {
    "r": 52,
    "g": 73,
    "b": 154
  },
  "hsl": {
    "h": 227.647,
    "s": 49.515,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4349,
    "c": 0.13435,
    "h": 269.2
  },
  "luminance": 0.07828
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #34499A

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

Preview Lab → · Contrast checker → · Palette generator →

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