#34358F#34358F

#34358F is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.6% C 0.145 H 276.7°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#34358F
RGBrgb(52, 53, 143)
HSLhsl(239, 47%, 38%)
HSVhsv(239, 64%, 56%)
CMYKcmyk(63.6%, 62.9%, 0%, 43.9%)
CIE-LABlab(27.46, 28.51, -50.09)
CIE-LCHlch(27.46, 57.63, 299.65°)
OKLaboklab(38.63% 0.0169 -0.1442)
OKLCHoklch(38.63% 0.145 276.7)
XYZxyz(7.6456, 5.2588, 26.5934)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34358F #8F8E34
analogous
#34628F #34358F #60348F
triadic
#34358F #8F3435 #358F34
tetradic
#34358F #8F3462 #8F8E34 #348F60
square
#34358F #8F3462 #8F8E34 #348F60
split-complementary
#34358F #8F6034 #628F34
monochromatic
#131435 #242462 #34358F #4546BB #7273CC

Accessibility & contrast

On white

10.23
#34358F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#34358F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34358F
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34358F#FFFFFF#000000##FFFFFF
##34358F1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#004B5D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #34358f;
/* rgb */ color: rgb(52, 53, 143);
/* oklch */ color: oklch(38.6% 0.145 276.7);
Tailwind
colors: {
  custom: {
    50: '#766cb1',
    500: '#34358f',
    950: '#000000',
  },
}
SCSS
$custom: #34358f;
$custom-light: #766cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#34358f",
  "rgb": {
    "r": 52,
    "g": 53,
    "b": 143
  },
  "hsl": {
    "h": 239.341,
    "s": 46.667,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38625,
    "c": 0.14516,
    "h": 276.7
  },
  "luminance": 0.05259
}

Semantic roles & 50–950 ramp

primary
#34358F
secondary
#B4B36B
accent
#D551D6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #34358F

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

Preview Lab → · Contrast checker → · Palette generator →

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