#34279F#34279F

#34279F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.9% C 0.183 H 278.0°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#34279F
RGBrgb(52, 39, 159)
HSLhsl(247, 61%, 39%)
HSVhsv(247, 75%, 62%)
CMYKcmyk(67.3%, 75.5%, 0%, 37.6%)
CIE-LABlab(25.81, 42.46, -62.60)
CIE-LCHlch(25.81, 75.64, 304.15°)
OKLaboklab(37.89% 0.0254 -0.1808)
OKLCHoklch(37.89% 0.183 278)
XYZxyz(8.3977, 4.6836, 33.2556)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34279F #929F27
analogous
#27569F #34279F #70279F
triadic
#34279F #9F3427 #279F34
tetradic
#34279F #9F2756 #929F27 #279F70
square
#34279F #9F2756 #929F27 #279F70
split-complementary
#34279F #9F7027 #569F27
monochromatic
#140F3D #241B6E #34279F #4636CE #7367DA

Accessibility & contrast

On white

10.84
#34279F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#34279F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34279F
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34279F#FFFFFF#000000##FFFFFF
##34279F1.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#00389D
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #34279f;
/* rgb */ color: rgb(52, 39, 159);
/* oklch */ color: oklch(37.9% 0.183 278.0);
Tailwind
colors: {
  custom: {
    50: '#7b63bd',
    500: '#34279f',
    950: '#000000',
  },
}
SCSS
$custom: #34279f;
$custom-light: #7b63bd;
$custom-dark: #000000;
JSON
{
  "hex": "#34279f",
  "rgb": {
    "r": 52,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 246.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37894,
    "c": 0.18258,
    "h": 278
  },
  "luminance": 0.04684
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #34279F

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

Preview Lab → · Contrast checker → · Palette generator →

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