#34279E#34279E

#34279E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.8% C 0.181 H 278.1°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#34279E
RGBrgb(52, 39, 158)
HSLhsl(247, 60%, 39%)
HSVhsv(247, 75%, 62%)
CMYKcmyk(67.1%, 75.3%, 0%, 38%)
CIE-LABlab(25.71, 42.14, -62.16)
CIE-LCHlch(25.71, 75.10, 304.14°)
OKLaboklab(37.79% 0.0256 -0.1795)
OKLCHoklch(37.79% 0.181 278.1)
XYZxyz(8.3113, 4.6490, 32.8005)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34279E #919E27
analogous
#27559E #34279E #6F279E
triadic
#34279E #9E3427 #279E34
tetradic
#34279E #9E2755 #919E27 #279E6F
square
#34279E #9E2755 #919E27 #279E6F
split-complementary
#34279E #9E6F27 #559E27
monochromatic
#140F3C #241B6D #34279E #4635CD #7366D9

Accessibility & contrast

On white

10.88
#34279E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#34279E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34279E
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34279E#FFFFFF#000000##FFFFFF
##34279E1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#00389C
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #34279e;
/* rgb */ color: rgb(52, 39, 158);
/* oklch */ color: oklch(37.8% 0.181 278.1);
Tailwind
colors: {
  custom: {
    50: '#7a63bc',
    500: '#34279e',
    950: '#000000',
  },
}
SCSS
$custom: #34279e;
$custom-light: #7a63bc;
$custom-dark: #000000;
JSON
{
  "hex": "#34279e",
  "rgb": {
    "r": 52,
    "g": 39,
    "b": 158
  },
  "hsl": {
    "h": 246.555,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.3779,
    "c": 0.18134,
    "h": 278.1
  },
  "luminance": 0.0465
}

Semantic roles & 50–950 ramp

primary
#34279E
secondary
#B5BF62
accent
#E444D2
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #34279E

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

Preview Lab → · Contrast checker → · Palette generator →

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