#34489D#34489D

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

Color values

HEX#34489D
RGBrgb(52, 72, 157)
HSLhsl(229, 50%, 41%)
HSVhsv(229, 67%, 62%)
CMYKcmyk(66.9%, 54.1%, 0%, 38.4%)
CIE-LABlab(33.56, 20.98, -48.73)
CIE-LCHlch(33.56, 53.06, 293.29°)
OKLaboklab(43.51% -0.0006 -0.14)
OKLCHoklch(43.51% 0.14 269.7)
XYZxyz(9.8173, 7.7982, 32.8796)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34489D #9D8934
analogous
#347C9D #34489D #54349D
triadic
#34489D #9D3448 #489D34
tetradic
#34489D #9D347C #9D8934 #349D54
square
#34489D #9D347C #9D8934 #349D54
split-complementary
#34489D #9D5434 #7C9D34
monochromatic
#161E41 #25336F #34489D #4B62C3 #798AD3

Accessibility & contrast

On white

8.20
#34489D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#34489D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34489D
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34489D#FFFFFF#000000##FFFFFF
##34489D1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E54A0
Deuteranopia (green-blind)
#004A9B
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #34489d;
/* rgb */ color: rgb(52, 72, 157);
/* oklch */ color: oklch(43.5% 0.140 269.7);
Tailwind
colors: {
  custom: {
    50: '#787abb',
    500: '#34489d',
    950: '#000000',
  },
}
SCSS
$custom: #34489d;
$custom-light: #787abb;
$custom-dark: #000000;
JSON
{
  "hex": "#34489d",
  "rgb": {
    "r": 52,
    "g": 72,
    "b": 157
  },
  "hsl": {
    "h": 228.571,
    "s": 50.239,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43511,
    "c": 0.13998,
    "h": 269.7
  },
  "luminance": 0.07799
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #34489D

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

Preview Lab → · Contrast checker → · Palette generator →

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