#34289F#34289F

#34289F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.0% C 0.182 H 277.9°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#34289F
RGBrgb(52, 40, 159)
HSLhsl(246, 60%, 39%)
HSVhsv(246, 75%, 62%)
CMYKcmyk(67.3%, 74.8%, 0%, 37.6%)
CIE-LABlab(26.01, 41.91, -62.27)
CIE-LCHlch(26.01, 75.06, 303.94°)
OKLaboklab(38.03% 0.0248 -0.1799)
OKLCHoklch(38.03% 0.182 277.9)
XYZxyz(8.4309, 4.7501, 33.2667)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34289F #939F28
analogous
#28589F #34289F #70289F
triadic
#34289F #9F3428 #289F34
tetradic
#34289F #9F2858 #939F28 #289F70
square
#34289F #9F2858 #939F28 #289F70
split-complementary
#34289F #9F7028 #589F28
monochromatic
#140F3D #241C6E #34289F #4637CD #7468D9

Accessibility & contrast

On white

10.77
#34289F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#34289F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34289F
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34289F#FFFFFF#000000##FFFFFF
##34289F1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #34289f;
/* rgb */ color: rgb(52, 40, 159);
/* oklch */ color: oklch(38.0% 0.182 277.9);
Tailwind
colors: {
  custom: {
    50: '#7b64bd',
    500: '#34289f',
    950: '#000000',
  },
}
SCSS
$custom: #34289f;
$custom-light: #7b64bd;
$custom-dark: #000000;
JSON
{
  "hex": "#34289f",
  "rgb": {
    "r": 52,
    "g": 40,
    "b": 159
  },
  "hsl": {
    "h": 246.05,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38033,
    "c": 0.18156,
    "h": 277.9
  },
  "luminance": 0.04751
}

Semantic roles & 50–950 ramp

primary
#34289F
secondary
#B6BF64
accent
#E345D3
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #34289F

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

Preview Lab → · Contrast checker → · Palette generator →

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