#34298D#34298D

#34298D is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.4% C 0.157 H 280.1°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#34298D
RGBrgb(52, 41, 141)
HSLhsl(247, 55%, 36%)
HSVhsv(247, 71%, 55%)
CMYKcmyk(63.1%, 70.9%, 0%, 44.7%)
CIE-LABlab(24.44, 35.41, -53.78)
CIE-LCHlch(24.44, 64.38, 303.36°)
OKLaboklab(36.38% 0.0276 -0.155)
OKLCHoklch(36.38% 0.157 280.1)
XYZxyz(7.0153, 4.2385, 25.6426)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34298D #828D29
analogous
#29508D #34298D #66298D
triadic
#34298D #8D3429 #298D34
tetradic
#34298D #8D2950 #828D29 #298D66
square
#34298D #8D2950 #828D29 #298D66
split-complementary
#34298D #8D6629 #508D29
monochromatic
#110D2E #231B5E #34298D #4537BC #6C60D1

Accessibility & contrast

On white

11.36
#34298D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#34298D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34298D
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34298D#FFFFFF#000000##FFFFFF
##34298D1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#00368B
Tritanopia (blue-blind)
#004457
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #34298d;
/* rgb */ color: rgb(52, 41, 141);
/* oklch */ color: oklch(36.4% 0.157 280.1);
Tailwind
colors: {
  custom: {
    50: '#7764af',
    500: '#34298d',
    950: '#000000',
  },
}
SCSS
$custom: #34298d;
$custom-light: #7764af;
$custom-dark: #000000;
JSON
{
  "hex": "#34298d",
  "rgb": {
    "r": 52,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 246.6,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.3638,
    "c": 0.15747,
    "h": 280.1
  },
  "luminance": 0.04239
}

Semantic roles & 50–950 ramp

primary
#34298D
secondary
#ACB65B
accent
#DE4ACE
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #34298D

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

Preview Lab → · Contrast checker → · Palette generator →

#34298D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva