#34358D#34358D

#34358D is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.5% C 0.142 H 276.9°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#34358D
RGBrgb(52, 53, 141)
HSLhsl(239, 46%, 38%)
HSVhsv(239, 63%, 55%)
CMYKcmyk(63.1%, 62.4%, 0%, 44.7%)
CIE-LABlab(27.29, 27.80, -49.12)
CIE-LCHlch(27.29, 56.44, 299.51°)
OKLaboklab(38.45% 0.017 -0.1413)
OKLCHoklch(38.45% 0.142 276.9)
XYZxyz(7.4954, 5.1988, 25.8026)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34358D #8D8C34
analogous
#34618D #34358D #5F348D
triadic
#34358D #8D3435 #358D34
tetradic
#34358D #8D3461 #8D8C34 #348D5F
square
#34358D #8D3461 #8D8C34 #348D5F
split-complementary
#34358D #8D5F34 #618D34
monochromatic
#131334 #242460 #34358D #4446BA #7172CB

Accessibility & contrast

On white

10.30
#34358D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#34358D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34358D
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34358D#FFFFFF#000000##FFFFFF
##34358D1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #34358d;
/* rgb */ color: rgb(52, 53, 141);
/* oklch */ color: oklch(38.5% 0.142 276.9);
Tailwind
colors: {
  custom: {
    50: '#766caf',
    500: '#34358d',
    950: '#000000',
  },
}
SCSS
$custom: #34358d;
$custom-light: #766caf;
$custom-dark: #000000;
JSON
{
  "hex": "#34358d",
  "rgb": {
    "r": 52,
    "g": 53,
    "b": 141
  },
  "hsl": {
    "h": 239.326,
    "s": 46.114,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38451,
    "c": 0.14235,
    "h": 276.9
  },
  "luminance": 0.05199
}

Semantic roles & 50–950 ramp

primary
#34358D
secondary
#B3B26A
accent
#D452D6
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #34358D

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

Preview Lab → · Contrast checker → · Palette generator →

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