#34388C#34388C

#34388C is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.9% C 0.137 H 275.9°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#34388C
RGBrgb(52, 56, 140)
HSLhsl(237, 46%, 38%)
HSVhsv(237, 63%, 55%)
CMYKcmyk(62.9%, 60%, 0%, 45.1%)
CIE-LABlab(27.98, 25.47, -47.38)
CIE-LCHlch(27.98, 53.79, 298.26°)
OKLaboklab(38.93% 0.0142 -0.1362)
OKLCHoklch(38.93% 0.137 275.9)
XYZxyz(7.5624, 5.4513, 25.4595)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34388C #8C8834
analogous
#34648C #34388C #5C348C
triadic
#34388C #8C3438 #388C34
tetradic
#34388C #8C3464 #8C8834 #348C5C
square
#34388C #8C3464 #8C8834 #348C5C
split-complementary
#34388C #8C5C34 #648C34
monochromatic
#131433 #23265F #34388C #454AB9 #7074CA

Accessibility & contrast

On white

10.05
#34388C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#34388C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34388C
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34388C#FFFFFF#000000##FFFFFF
##34388C1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468F
Deuteranopia (green-blind)
#003E8A
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #34388c;
/* rgb */ color: rgb(52, 56, 140);
/* oklch */ color: oklch(38.9% 0.137 275.9);
Tailwind
colors: {
  custom: {
    50: '#756eae',
    500: '#34388c',
    950: '#000000',
  },
}
SCSS
$custom: #34388c;
$custom-light: #756eae;
$custom-dark: #000000;
JSON
{
  "hex": "#34388c",
  "rgb": {
    "r": 52,
    "g": 56,
    "b": 140
  },
  "hsl": {
    "h": 237.273,
    "s": 45.833,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38935,
    "c": 0.13692,
    "h": 275.9
  },
  "luminance": 0.05452
}

Semantic roles & 50–950 ramp

primary
#34388C
secondary
#B2AF6A
accent
#D052D5
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #34388C

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

Preview Lab → · Contrast checker → · Palette generator →

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