#34479F#34479F

#34479F is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.5% C 0.144 H 270.2°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#34479F
RGBrgb(52, 71, 159)
HSLhsl(229, 51%, 41%)
HSVhsv(229, 67%, 62%)
CMYKcmyk(67.3%, 55.3%, 0%, 37.6%)
CIE-LABlab(33.43, 22.38, -50.14)
CIE-LCHlch(33.43, 54.91, 294.05°)
OKLaboklab(43.46% 0.0004 -0.1441)
OKLCHoklch(43.46% 0.144 270.2)
XYZxyz(9.9253, 7.7388, 33.7648)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34479F #9F8C34
analogous
#347D9F #34479F #57349F
triadic
#34479F #9F3447 #479F34
tetradic
#34479F #9F347D #9F8C34 #349F57
square
#34479F #9F347D #9F8C34 #349F57
split-complementary
#34479F #9F5734 #7D9F34
monochromatic
#161E43 #253271 #34479F #4C61C4 #7A8AD3

Accessibility & contrast

On white

8.24
#34479F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#34479F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34479F
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34479F#FFFFFF#000000##FFFFFF
##34479F1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0254A2
Deuteranopia (green-blind)
#004A9D
Tritanopia (blue-blind)
#005C6C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #34479f;
/* rgb */ color: rgb(52, 71, 159);
/* oklch */ color: oklch(43.5% 0.144 270.2);
Tailwind
colors: {
  custom: {
    50: '#7879bc',
    500: '#34479f',
    950: '#000000',
  },
}
SCSS
$custom: #34479f;
$custom-light: #7879bc;
$custom-dark: #000000;
JSON
{
  "hex": "#34479f",
  "rgb": {
    "r": 52,
    "g": 71,
    "b": 159
  },
  "hsl": {
    "h": 229.346,
    "s": 50.711,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43463,
    "c": 0.14415,
    "h": 270.2
  },
  "luminance": 0.0774
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #34479F

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

Preview Lab → · Contrast checker → · Palette generator →

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