#34489B#34489B

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

Color values

HEX#34489B
RGBrgb(52, 72, 155)
HSLhsl(228, 50%, 41%)
HSVhsv(228, 66%, 61%)
CMYKcmyk(66.5%, 53.5%, 0%, 39.2%)
CIE-LABlab(33.42, 20.24, -47.76)
CIE-LCHlch(33.42, 51.87, 292.97°)
OKLaboklab(43.36% -0.0008 -0.1371)
OKLCHoklch(43.36% 0.137 269.7)
XYZxyz(9.6479, 7.7305, 31.9877)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34489B #9B8734
analogous
#347B9B #34489B #54349B
triadic
#34489B #9B3448 #489B34
tetradic
#34489B #9B347B #9B8734 #349B54
square
#34489B #9B347B #9B8734 #349B54
split-complementary
#34489B #9B5434 #7B9B34
monochromatic
#151D3F #25336D #34489B #4A61C2 #7889D2

Accessibility & contrast

On white

8.25
#34489B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34489B
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34489B#FFFFFF#000000##FFFFFF
##34489B1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13539E
Deuteranopia (green-blind)
#004A99
Tritanopia (blue-blind)
#005C6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #34489b;
/* rgb */ color: rgb(52, 72, 155);
/* oklch */ color: oklch(43.4% 0.137 269.7);
Tailwind
colors: {
  custom: {
    50: '#777ab9',
    500: '#34489b',
    950: '#000000',
  },
}
SCSS
$custom: #34489b;
$custom-light: #777ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#34489b",
  "rgb": {
    "r": 52,
    "g": 72,
    "b": 155
  },
  "hsl": {
    "h": 228.35,
    "s": 49.758,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43357,
    "c": 0.13711,
    "h": 269.7
  },
  "luminance": 0.07731
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #34489B

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

Preview Lab → · Contrast checker → · Palette generator →

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