#34348A#34348A

#34348A is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.0% C 0.139 H 277.5°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#34348A
RGBrgb(52, 52, 138)
HSLhsl(240, 45%, 37%)
HSVhsv(240, 62%, 54%)
CMYKcmyk(62.3%, 62.3%, 0%, 45.9%)
CIE-LABlab(26.79, 27.40, -48.08)
CIE-LCHlch(26.79, 55.34, 299.68°)
OKLaboklab(38.01% 0.0181 -0.1383)
OKLCHoklch(38.01% 0.139 277.5)
XYZxyz(7.2301, 5.0205, 24.6279)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34348A #8A8A34
analogous
#345F8A #34348A #5F348A
triadic
#34348A #8A3434 #348A34
tetradic
#34348A #8A345F #8A8A34 #348A5F
square
#34348A #8A345F #8A8A34 #348A5F
split-complementary
#34348A #8A5F34 #5F8A34
monochromatic
#131331 #23235E #34348A #4545B6 #6F6FC9

Accessibility & contrast

On white

10.48
#34348A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#34348A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34348A
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34348A#FFFFFF#000000##FFFFFF
##34348A1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438D
Deuteranopia (green-blind)
#003C88
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #34348a;
/* rgb */ color: rgb(52, 52, 138);
/* oklch */ color: oklch(38.0% 0.139 277.5);
Tailwind
colors: {
  custom: {
    50: '#756bad',
    500: '#34348a',
    950: '#000000',
  },
}
SCSS
$custom: #34348a;
$custom-light: #756bad;
$custom-dark: #000000;
JSON
{
  "hex": "#34348a",
  "rgb": {
    "r": 52,
    "g": 52,
    "b": 138
  },
  "hsl": {
    "h": 240,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38005,
    "c": 0.13945,
    "h": 277.5
  },
  "luminance": 0.05021
}

Semantic roles & 50–950 ramp

primary
#34348A
secondary
#B1B169
accent
#D553D5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #34348A

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

Preview Lab → · Contrast checker → · Palette generator →

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