#34479B#34479B

#34479B is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.1% C 0.138 H 270.1°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#34479B
RGBrgb(52, 71, 155)
HSLhsl(229, 50%, 41%)
HSVhsv(229, 66%, 61%)
CMYKcmyk(66.5%, 54.2%, 0%, 39.2%)
CIE-LABlab(33.14, 20.91, -48.20)
CIE-LCHlch(33.14, 52.54, 293.45°)
OKLaboklab(43.15% 0.0002 -0.1384)
OKLCHoklch(43.15% 0.138 270.1)
XYZxyz(9.5838, 7.6022, 31.9663)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34479B #9B8834
analogous
#347A9B #34479B #54349B
triadic
#34479B #9B3447 #479B34
tetradic
#34479B #9B347A #9B8834 #349B54
square
#34479B #9B347A #9B8834 #349B54
split-complementary
#34479B #9B5434 #7A9B34
monochromatic
#151D3F #25326D #34479B #4A60C2 #7888D2

Accessibility & contrast

On white

8.33
#34479B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#34479B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34479B
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34479B#FFFFFF#000000##FFFFFF
##34479B1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E539E
Deuteranopia (green-blind)
#004999
Tritanopia (blue-blind)
#005B6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #34479b;
/* rgb */ color: rgb(52, 71, 155);
/* oklch */ color: oklch(43.1% 0.138 270.1);
Tailwind
colors: {
  custom: {
    50: '#7779b9',
    500: '#34479b',
    950: '#000000',
  },
}
SCSS
$custom: #34479b;
$custom-light: #7779b9;
$custom-dark: #000000;
JSON
{
  "hex": "#34479b",
  "rgb": {
    "r": 52,
    "g": 71,
    "b": 155
  },
  "hsl": {
    "h": 228.932,
    "s": 49.758,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4315,
    "c": 0.13843,
    "h": 270.1
  },
  "luminance": 0.07603
}

Semantic roles & 50–950 ramp

primary
#34479B
secondary
#BAAD71
accent
#C04FD9
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #34479B

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

Preview Lab → · Contrast checker → · Palette generator →

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