#34348B#34348B

#34348B is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.1% C 0.141 H 277.4°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#34348B
RGBrgb(52, 52, 139)
HSLhsl(240, 46%, 37%)
HSVhsv(240, 63%, 55%)
CMYKcmyk(62.6%, 62.6%, 0%, 45.5%)
CIE-LABlab(26.88, 27.75, -48.56)
CIE-LCHlch(26.88, 55.93, 299.75°)
OKLaboklab(38.09% 0.0181 -0.1397)
OKLCHoklch(38.09% 0.141 277.4)
XYZxyz(7.3029, 5.0496, 25.0109)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34348B #8B8B34
analogous
#34608B #34348B #60348B
triadic
#34348B #8B3434 #348B34
tetradic
#34348B #8B3460 #8B8B34 #348B60
square
#34348B #8B3460 #8B8B34 #348B60
split-complementary
#34348B #8B6034 #608B34
monochromatic
#131332 #23235E #34348B #4545B8 #7070C9

Accessibility & contrast

On white

10.45
#34348B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#34348B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34348B
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34348B#FFFFFF#000000##FFFFFF
##34348B1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438E
Deuteranopia (green-blind)
#003C89
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #34348b;
/* rgb */ color: rgb(52, 52, 139);
/* oklch */ color: oklch(38.1% 0.141 277.4);
Tailwind
colors: {
  custom: {
    50: '#756bae',
    500: '#34348b',
    950: '#000000',
  },
}
SCSS
$custom: #34348b;
$custom-light: #756bae;
$custom-dark: #000000;
JSON
{
  "hex": "#34348b",
  "rgb": {
    "r": 52,
    "g": 52,
    "b": 139
  },
  "hsl": {
    "h": 240,
    "s": 45.55,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38092,
    "c": 0.14086,
    "h": 277.4
  },
  "luminance": 0.0505
}

Semantic roles & 50–950 ramp

primary
#34348B
secondary
#B2B269
accent
#D553D5
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #34348B

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

Preview Lab → · Contrast checker → · Palette generator →

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