#34398C#34398C

#34398C is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.1% C 0.136 H 275.6°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#34398C
RGBrgb(52, 57, 140)
HSLhsl(237, 46%, 38%)
HSVhsv(237, 63%, 55%)
CMYKcmyk(62.9%, 59.3%, 0%, 45.1%)
CIE-LABlab(28.25, 24.80, -46.96)
CIE-LCHlch(28.25, 53.10, 297.84°)
OKLaboklab(39.13% 0.0132 -0.1349)
OKLCHoklch(39.13% 0.136 275.6)
XYZxyz(7.6114, 5.5492, 25.4759)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34398C #8C8734
analogous
#34658C #34398C #5B348C
triadic
#34398C #8C3439 #398C34
tetradic
#34398C #8C3465 #8C8734 #348C5B
square
#34398C #8C3465 #8C8734 #348C5B
split-complementary
#34398C #8C5B34 #658C34
monochromatic
#131533 #23275F #34398C #454BB9 #7075CA

Accessibility & contrast

On white

9.95
#34398C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#34398C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34398C
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34398C#FFFFFF#000000##FFFFFF
##34398C1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468F
Deuteranopia (green-blind)
#003F8A
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #34398c;
/* rgb */ color: rgb(52, 57, 140);
/* oklch */ color: oklch(39.1% 0.136 275.6);
Tailwind
colors: {
  custom: {
    50: '#756fae',
    500: '#34398c',
    950: '#000000',
  },
}
SCSS
$custom: #34398c;
$custom-light: #756fae;
$custom-dark: #000000;
JSON
{
  "hex": "#34398c",
  "rgb": {
    "r": 52,
    "g": 57,
    "b": 140
  },
  "hsl": {
    "h": 236.591,
    "s": 45.833,
    "l": 37.647
  },
  "oklch": {
    "l": 0.3913,
    "c": 0.13557,
    "h": 275.6
  },
  "luminance": 0.0555
}

Semantic roles & 50–950 ramp

primary
#34398C
secondary
#B2AE6A
accent
#CE52D5
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #34398C

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

Preview Lab → · Contrast checker → · Palette generator →

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