#34358C#34358C

#34358C is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.4% C 0.141 H 277.0°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#34358C
RGBrgb(52, 53, 140)
HSLhsl(239, 46%, 38%)
HSVhsv(239, 63%, 55%)
CMYKcmyk(62.9%, 62.1%, 0%, 45.1%)
CIE-LABlab(27.21, 27.45, -48.64)
CIE-LCHlch(27.21, 55.85, 299.44°)
OKLaboklab(38.37% 0.0171 -0.1399)
OKLCHoklch(38.37% 0.141 277)
XYZxyz(7.4214, 5.1691, 25.4125)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34358C #8C8B34
analogous
#34618C #34358C #5F348C
triadic
#34358C #8C3435 #358C34
tetradic
#34358C #8C3461 #8C8B34 #348C5F
square
#34358C #8C3461 #8C8B34 #348C5F
split-complementary
#34358C #8C5F34 #618C34
monochromatic
#131333 #23245F #34358C #4546B9 #7071CA

Accessibility & contrast

On white

10.32
#34358C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34358C
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34358C#FFFFFF#000000##FFFFFF
##34358C1.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448F
Deuteranopia (green-blind)
#003D8A
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #34358c;
/* rgb */ color: rgb(52, 53, 140);
/* oklch */ color: oklch(38.4% 0.141 277.0);
Tailwind
colors: {
  custom: {
    50: '#756cae',
    500: '#34358c',
    950: '#000000',
  },
}
SCSS
$custom: #34358c;
$custom-light: #756cae;
$custom-dark: #000000;
JSON
{
  "hex": "#34358c",
  "rgb": {
    "r": 52,
    "g": 53,
    "b": 140
  },
  "hsl": {
    "h": 239.318,
    "s": 45.833,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38365,
    "c": 0.14095,
    "h": 277
  },
  "luminance": 0.0517
}

Semantic roles & 50–950 ramp

primary
#34358C
secondary
#B2B16A
accent
#D452D5
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #34358C

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

Preview Lab → · Contrast checker → · Palette generator →

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