#34388D#34388D

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

Color values

HEX#34388D
RGBrgb(52, 56, 141)
HSLhsl(237, 46%, 38%)
HSVhsv(237, 63%, 55%)
CMYKcmyk(63.1%, 60.3%, 0%, 44.7%)
CIE-LABlab(28.06, 25.82, -47.87)
CIE-LCHlch(28.06, 54.39, 298.35°)
OKLaboklab(39.02% 0.0142 -0.1376)
OKLCHoklch(39.02% 0.138 275.9)
XYZxyz(7.6365, 5.4809, 25.8496)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34388D #8D8934
analogous
#34658D #34388D #5C348D
triadic
#34388D #8D3438 #388D34
tetradic
#34388D #8D3465 #8D8934 #348D5C
square
#34388D #8D3465 #8D8934 #348D5C
split-complementary
#34388D #8D5C34 #658D34
monochromatic
#131434 #242660 #34388D #444ABA #7175CB

Accessibility & contrast

On white

10.02
#34388D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#34388D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34388D
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34388D#FFFFFF#000000##FFFFFF
##34388D1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#003E8B
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #34388d;
/* rgb */ color: rgb(52, 56, 141);
/* oklch */ color: oklch(39.0% 0.138 275.9);
Tailwind
colors: {
  custom: {
    50: '#756eaf',
    500: '#34388d',
    950: '#000000',
  },
}
SCSS
$custom: #34388d;
$custom-light: #756eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#34388d",
  "rgb": {
    "r": 52,
    "g": 56,
    "b": 141
  },
  "hsl": {
    "h": 237.303,
    "s": 46.114,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39019,
    "c": 0.13836,
    "h": 275.9
  },
  "luminance": 0.05481
}

Semantic roles & 50–950 ramp

primary
#34388D
secondary
#B3AF6A
accent
#D052D6
background
#F7F6FA
surface
#EEECF5
border
#C9C7CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #34388D

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

Preview Lab → · Contrast checker → · Palette generator →

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