#34348C#34348C

#34348C is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.2% C 0.142 H 277.3°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#34348C
RGBrgb(52, 52, 140)
HSLhsl(240, 46%, 38%)
HSVhsv(240, 63%, 55%)
CMYKcmyk(62.9%, 62.9%, 0%, 45.1%)
CIE-LABlab(26.96, 28.11, -49.05)
CIE-LCHlch(26.96, 56.53, 299.82°)
OKLaboklab(38.18% 0.018 -0.1411)
OKLCHoklch(38.18% 0.142 277.3)
XYZxyz(7.3763, 5.0789, 25.3975)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34348C #8C8C34
analogous
#34608C #34348C #60348C
triadic
#34348C #8C3434 #348C34
tetradic
#34348C #8C3460 #8C8C34 #348C60
square
#34348C #8C3460 #8C8C34 #348C60
split-complementary
#34348C #8C6034 #608C34
monochromatic
#131333 #23235F #34348C #4545B9 #7070CA

Accessibility & contrast

On white

10.42
#34348C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#34348C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34348C
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34348C#FFFFFF#000000##FFFFFF
##34348C1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438F
Deuteranopia (green-blind)
#003C8A
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #34348c;
/* rgb */ color: rgb(52, 52, 140);
/* oklch */ color: oklch(38.2% 0.142 277.3);
Tailwind
colors: {
  custom: {
    50: '#766bae',
    500: '#34348c',
    950: '#000000',
  },
}
SCSS
$custom: #34348c;
$custom-light: #766bae;
$custom-dark: #000000;
JSON
{
  "hex": "#34348c",
  "rgb": {
    "r": 52,
    "g": 52,
    "b": 140
  },
  "hsl": {
    "h": 240,
    "s": 45.833,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38179,
    "c": 0.14228,
    "h": 277.3
  },
  "luminance": 0.05079
}

Semantic roles & 50–950 ramp

primary
#34348C
secondary
#B2B26A
accent
#D552D5
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #34348C

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

Preview Lab → · Contrast checker → · Palette generator →

#34348C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva