#34479E#34479E

#34479E is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.4% C 0.143 H 270.1°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#34479E
RGBrgb(52, 71, 158)
HSLhsl(229, 50%, 41%)
HSVhsv(229, 67%, 62%)
CMYKcmyk(67.1%, 55.1%, 0%, 38%)
CIE-LABlab(33.36, 22.01, -49.66)
CIE-LCHlch(33.36, 54.32, 293.91°)
OKLaboklab(43.38% 0.0004 -0.1427)
OKLCHoklch(43.38% 0.143 270.1)
XYZxyz(9.8389, 7.7043, 33.3097)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34479E #9E8B34
analogous
#347C9E #34479E #56349E
triadic
#34479E #9E3447 #479E34
tetradic
#34479E #9E347C #9E8B34 #349E56
square
#34479E #9E347C #9E8B34 #349E56
split-complementary
#34479E #9E5634 #7C9E34
monochromatic
#161E42 #253270 #34479E #4B61C4 #7989D3

Accessibility & contrast

On white

8.26
#34479E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#34479E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34479E
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34479E#FFFFFF#000000##FFFFFF
##34479E1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0553A1
Deuteranopia (green-blind)
#004A9C
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #34479e;
/* rgb */ color: rgb(52, 71, 158);
/* oklch */ color: oklch(43.4% 0.143 270.1);
Tailwind
colors: {
  custom: {
    50: '#7879bb',
    500: '#34479e',
    950: '#000000',
  },
}
SCSS
$custom: #34479e;
$custom-light: #7879bb;
$custom-dark: #000000;
JSON
{
  "hex": "#34479e",
  "rgb": {
    "r": 52,
    "g": 71,
    "b": 158
  },
  "hsl": {
    "h": 229.245,
    "s": 50.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.43384,
    "c": 0.14272,
    "h": 270.1
  },
  "luminance": 0.07705
}

Semantic roles & 50–950 ramp

primary
#34479E
secondary
#BCAE72
accent
#C14EDA
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #34479E

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

Preview Lab → · Contrast checker → · Palette generator →

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