#34279A#34279A

#34279A is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.4% C 0.176 H 278.7°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#34279A
RGBrgb(52, 39, 154)
HSLhsl(247, 60%, 38%)
HSVhsv(247, 75%, 60%)
CMYKcmyk(66.2%, 74.7%, 0%, 39.6%)
CIE-LABlab(25.30, 40.85, -60.39)
CIE-LCHlch(25.30, 72.91, 304.08°)
OKLaboklab(37.38% 0.0265 -0.1743)
OKLCHoklch(37.38% 0.176 278.7)
XYZxyz(7.9726, 4.5135, 31.0166)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34279A #8D9A27
analogous
#27539A #34279A #6E279A
triadic
#34279A #9A3427 #279A34
tetradic
#34279A #9A2753 #8D9A27 #279A6E
square
#34279A #9A2753 #8D9A27 #279A6E
split-complementary
#34279A #9A6E27 #539A27
monochromatic
#130E38 #241B69 #34279A #4433CB #7164D8

Accessibility & contrast

On white

11.04
#34279A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#34279A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34279A
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34279A#FFFFFF#000000##FFFFFF
##34279A1.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409D
Deuteranopia (green-blind)
#003798
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #34279a;
/* rgb */ color: rgb(52, 39, 154);
/* oklch */ color: oklch(37.4% 0.176 278.7);
Tailwind
colors: {
  custom: {
    50: '#7a63b9',
    500: '#34279a',
    950: '#000000',
  },
}
SCSS
$custom: #34279a;
$custom-light: #7a63b9;
$custom-dark: #000000;
JSON
{
  "hex": "#34279a",
  "rgb": {
    "r": 52,
    "g": 39,
    "b": 154
  },
  "hsl": {
    "h": 246.783,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37378,
    "c": 0.17636,
    "h": 278.7
  },
  "luminance": 0.04514
}

Semantic roles & 50–950 ramp

primary
#34279A
secondary
#B3BD5F
accent
#E345D1
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #34279A

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

Preview Lab → · Contrast checker → · Palette generator →

#34279A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva