#34358B#34358B

#34358B is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.3% C 0.140 H 277.0°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#34358B
RGBrgb(52, 53, 139)
HSLhsl(239, 46%, 37%)
HSVhsv(239, 63%, 55%)
CMYKcmyk(62.6%, 61.9%, 0%, 45.5%)
CIE-LABlab(27.13, 27.10, -48.15)
CIE-LCHlch(27.13, 55.25, 299.37°)
OKLaboklab(38.28% 0.0171 -0.1385)
OKLCHoklch(38.28% 0.14 277)
XYZxyz(7.3480, 5.1398, 25.0260)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34358B #8B8A34
analogous
#34618B #34358B #5E348B
triadic
#34358B #8B3435 #358B34
tetradic
#34358B #8B3461 #8B8A34 #348B5E
square
#34358B #8B3461 #8B8A34 #348B5E
split-complementary
#34358B #8B5E34 #618B34
monochromatic
#131332 #23245E #34358B #4546B8 #7071C9

Accessibility & contrast

On white

10.36
#34358B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#34358B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34358B
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34358B#FFFFFF#000000##FFFFFF
##34358B1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448E
Deuteranopia (green-blind)
#003C89
Tritanopia (blue-blind)
#004A5A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #34358b;
/* rgb */ color: rgb(52, 53, 139);
/* oklch */ color: oklch(38.3% 0.140 277.0);
Tailwind
colors: {
  custom: {
    50: '#756cae',
    500: '#34358b',
    950: '#000000',
  },
}
SCSS
$custom: #34358b;
$custom-light: #756cae;
$custom-dark: #000000;
JSON
{
  "hex": "#34358b",
  "rgb": {
    "r": 52,
    "g": 53,
    "b": 139
  },
  "hsl": {
    "h": 239.31,
    "s": 45.55,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38279,
    "c": 0.13953,
    "h": 277
  },
  "luminance": 0.0514
}

Semantic roles & 50–950 ramp

primary
#34358B
secondary
#B2B169
accent
#D453D5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #34358B

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

Preview Lab → · Contrast checker → · Palette generator →

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