#34348D#34348D

#34348D is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.3% C 0.144 H 277.2°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#34348D
RGBrgb(52, 52, 141)
HSLhsl(240, 46%, 38%)
HSVhsv(240, 63%, 55%)
CMYKcmyk(63.1%, 63.1%, 0%, 44.7%)
CIE-LABlab(27.04, 28.46, -49.53)
CIE-LCHlch(27.04, 57.12, 299.88°)
OKLaboklab(38.27% 0.018 -0.1425)
OKLCHoklch(38.27% 0.144 277.2)
XYZxyz(7.4503, 5.1086, 25.7876)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34348D #8D8D34
analogous
#34608D #34348D #60348D
triadic
#34348D #8D3434 #348D34
tetradic
#34348D #8D3460 #8D8D34 #348D60
square
#34348D #8D3460 #8D8D34 #348D60
split-complementary
#34348D #8D6034 #608D34
monochromatic
#131334 #242460 #34348D #4444BA #7171CB

Accessibility & contrast

On white

10.39
#34348D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34348D
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34348D#FFFFFF#000000##FFFFFF
##34348D1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #34348d;
/* rgb */ color: rgb(52, 52, 141);
/* oklch */ color: oklch(38.3% 0.144 277.2);
Tailwind
colors: {
  custom: {
    50: '#766baf',
    500: '#34348d',
    950: '#000000',
  },
}
SCSS
$custom: #34348d;
$custom-light: #766baf;
$custom-dark: #000000;
JSON
{
  "hex": "#34348d",
  "rgb": {
    "r": 52,
    "g": 52,
    "b": 141
  },
  "hsl": {
    "h": 240,
    "s": 46.114,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38266,
    "c": 0.14368,
    "h": 277.2
  },
  "luminance": 0.05109
}

Semantic roles & 50–950 ramp

primary
#34348D
secondary
#B3B36A
accent
#D652D6
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #34348D

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

Preview Lab → · Contrast checker → · Palette generator →

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