#34279C#34279C

#34279C is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.6% C 0.179 H 278.4°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#34279C
RGBrgb(52, 39, 156)
HSLhsl(247, 60%, 38%)
HSVhsv(247, 75%, 61%)
CMYKcmyk(66.7%, 75%, 0%, 38.8%)
CIE-LABlab(25.51, 41.50, -61.27)
CIE-LCHlch(25.51, 74.00, 304.11°)
OKLaboklab(37.58% 0.0261 -0.1769)
OKLCHoklch(37.58% 0.179 278.4)
XYZxyz(8.1405, 4.5807, 31.9012)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34279C #8F9C27
analogous
#27549C #34279C #6E279C
triadic
#34279C #9C3427 #279C34
tetradic
#34279C #9C2754 #8F9C27 #279C6E
square
#34279C #9C2754 #8F9C27 #279C6E
split-complementary
#34279C #9C6E27 #549C27
monochromatic
#130F3A #241B6B #34279C #4534CC #7265D8

Accessibility & contrast

On white

10.96
#34279C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#34279C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34279C
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34279C#FFFFFF#000000##FFFFFF
##34279C1.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#00389A
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #34279c;
/* rgb */ color: rgb(52, 39, 156);
/* oklch */ color: oklch(37.6% 0.179 278.4);
Tailwind
colors: {
  custom: {
    50: '#7a63ba',
    500: '#34279c',
    950: '#000000',
  },
}
SCSS
$custom: #34279c;
$custom-light: #7a63ba;
$custom-dark: #000000;
JSON
{
  "hex": "#34279c",
  "rgb": {
    "r": 52,
    "g": 39,
    "b": 156
  },
  "hsl": {
    "h": 246.667,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37584,
    "c": 0.17885,
    "h": 278.4
  },
  "luminance": 0.04581
}

Semantic roles & 50–950 ramp

primary
#34279C
secondary
#B4BE61
accent
#E345D2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #34279C

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

Preview Lab → · Contrast checker → · Palette generator →

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