#34279B#34279B

#34279B is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.5% C 0.178 H 278.5°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#34279B
RGBrgb(52, 39, 155)
HSLhsl(247, 60%, 38%)
HSVhsv(247, 75%, 61%)
CMYKcmyk(66.5%, 74.8%, 0%, 39.2%)
CIE-LABlab(25.40, 41.17, -60.83)
CIE-LCHlch(25.40, 73.45, 304.09°)
OKLaboklab(37.48% 0.0263 -0.1756)
OKLCHoklch(37.48% 0.178 278.5)
XYZxyz(8.0562, 4.5470, 31.4571)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34279B #8E9B27
analogous
#27549B #34279B #6E279B
triadic
#34279B #9B3427 #279B34
tetradic
#34279B #9B2754 #8E9B27 #279B6E
square
#34279B #9B2754 #8E9B27 #279B6E
split-complementary
#34279B #9B6E27 #549B27
monochromatic
#130E39 #241B6A #34279B #4433CC #7164D8

Accessibility & contrast

On white

11.00
#34279B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#34279B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34279B
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34279B#FFFFFF#000000##FFFFFF
##34279B1.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #34279b;
/* rgb */ color: rgb(52, 39, 155);
/* oklch */ color: oklch(37.5% 0.178 278.5);
Tailwind
colors: {
  custom: {
    50: '#7a63ba',
    500: '#34279b',
    950: '#000000',
  },
}
SCSS
$custom: #34279b;
$custom-light: #7a63ba;
$custom-dark: #000000;
JSON
{
  "hex": "#34279b",
  "rgb": {
    "r": 52,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 246.724,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37481,
    "c": 0.17761,
    "h": 278.5
  },
  "luminance": 0.04548
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #34279B

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

Preview Lab → · Contrast checker → · Palette generator →

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