#34489A#34489A

#34489A is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.3% C 0.136 H 269.6°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#34489A
RGBrgb(52, 72, 154)
HSLhsl(228, 50%, 40%)
HSVhsv(228, 66%, 60%)
CMYKcmyk(66.2%, 53.2%, 0%, 39.6%)
CIE-LABlab(33.34, 19.88, -47.27)
CIE-LCHlch(33.34, 51.28, 292.81°)
OKLaboklab(43.28% -0.0009 -0.1357)
OKLCHoklch(43.28% 0.136 269.6)
XYZxyz(9.5643, 7.6970, 31.5472)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34489A #9A8634
analogous
#347B9A #34489A #53349A
triadic
#34489A #9A3448 #489A34
tetradic
#34489A #9A347B #9A8634 #349A53
square
#34489A #9A347B #9A8634 #349A53
split-complementary
#34489A #9A5334 #7B9A34
monochromatic
#151D3E #25336C #34489A #4961C2 #7789D1

Accessibility & contrast

On white

8.27
#34489A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#34489A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34489A
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34489A#FFFFFF#000000##FFFFFF
##34489A1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14539D
Deuteranopia (green-blind)
#004A98
Tritanopia (blue-blind)
#005B6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #34489a;
/* rgb */ color: rgb(52, 72, 154);
/* oklch */ color: oklch(43.3% 0.136 269.6);
Tailwind
colors: {
  custom: {
    50: '#777ab8',
    500: '#34489a',
    950: '#000000',
  },
}
SCSS
$custom: #34489a;
$custom-light: #777ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#34489a",
  "rgb": {
    "r": 52,
    "g": 72,
    "b": 154
  },
  "hsl": {
    "h": 228.235,
    "s": 49.515,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4328,
    "c": 0.13567,
    "h": 269.6
  },
  "luminance": 0.07698
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #34489A

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

Preview Lab → · Contrast checker → · Palette generator →

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