#34378B#34378B

#34378B is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.7% C 0.137 H 276.4°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#34378B
RGBrgb(52, 55, 139)
HSLhsl(238, 46%, 37%)
HSVhsv(238, 63%, 55%)
CMYKcmyk(62.6%, 60.4%, 0%, 45.5%)
CIE-LABlab(27.64, 25.78, -47.31)
CIE-LCHlch(27.64, 53.88, 298.58°)
OKLaboklab(38.66% 0.0152 -0.136)
OKLCHoklch(38.66% 0.137 276.4)
XYZxyz(7.4411, 5.3259, 25.0570)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34378B #8B8834
analogous
#34638B #34378B #5C348B
triadic
#34378B #8B3437 #378B34
tetradic
#34378B #8B3463 #8B8834 #348B5C
square
#34378B #8B3463 #8B8834 #348B5C
split-complementary
#34378B #8B5C34 #638B34
monochromatic
#131432 #23255E #34378B #4549B8 #7073C9

Accessibility & contrast

On white

10.17
#34378B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#34378B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34378B
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34378B#FFFFFF#000000##FFFFFF
##34378B1.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#003E89
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #34378b;
/* rgb */ color: rgb(52, 55, 139);
/* oklch */ color: oklch(38.7% 0.137 276.4);
Tailwind
colors: {
  custom: {
    50: '#756eae',
    500: '#34378b',
    950: '#000000',
  },
}
SCSS
$custom: #34378b;
$custom-light: #756eae;
$custom-dark: #000000;
JSON
{
  "hex": "#34378b",
  "rgb": {
    "r": 52,
    "g": 55,
    "b": 139
  },
  "hsl": {
    "h": 237.931,
    "s": 45.55,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38659,
    "c": 0.13684,
    "h": 276.4
  },
  "luminance": 0.05327
}

Semantic roles & 50–950 ramp

primary
#34378B
secondary
#B2AF69
accent
#D153D5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #34378B

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

Preview Lab → · Contrast checker → · Palette generator →

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