#34489C#34489C

#34489C is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.4% C 0.139 H 269.7°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#34489C
RGBrgb(52, 72, 156)
HSLhsl(228, 50%, 41%)
HSVhsv(228, 67%, 61%)
CMYKcmyk(66.7%, 53.8%, 0%, 38.8%)
CIE-LABlab(33.49, 20.61, -48.25)
CIE-LCHlch(33.49, 52.46, 293.13°)
OKLaboklab(43.43% -0.0007 -0.1385)
OKLCHoklch(43.43% 0.139 269.7)
XYZxyz(9.7322, 7.7642, 32.4318)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34489C #9C8834
analogous
#347C9C #34489C #54349C
triadic
#34489C #9C3448 #489C34
tetradic
#34489C #9C347C #9C8834 #349C54
square
#34489C #9C347C #9C8834 #349C54
split-complementary
#34489C #9C5434 #7C9C34
monochromatic
#151E40 #25336E #34489C #4A62C3 #788AD2

Accessibility & contrast

On white

8.23
#34489C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#34489C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34489C
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34489C#FFFFFF#000000##FFFFFF
##34489C1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10549F
Deuteranopia (green-blind)
#004A9A
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #34489c;
/* rgb */ color: rgb(52, 72, 156);
/* oklch */ color: oklch(43.4% 0.139 269.7);
Tailwind
colors: {
  custom: {
    50: '#777aba',
    500: '#34489c',
    950: '#000000',
  },
}
SCSS
$custom: #34489c;
$custom-light: #777aba;
$custom-dark: #000000;
JSON
{
  "hex": "#34489c",
  "rgb": {
    "r": 52,
    "g": 72,
    "b": 156
  },
  "hsl": {
    "h": 228.462,
    "s": 50,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43434,
    "c": 0.13855,
    "h": 269.7
  },
  "luminance": 0.07765
}

Semantic roles & 50–950 ramp

primary
#34489C
secondary
#BBAD71
accent
#BF4EDA
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #34489C

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

Preview Lab → · Contrast checker → · Palette generator →

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