#34388B#34388B

#34388B is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.9% C 0.135 H 276.0°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#34388B
RGBrgb(52, 56, 139)
HSLhsl(237, 46%, 37%)
HSVhsv(237, 63%, 55%)
CMYKcmyk(62.6%, 59.7%, 0%, 45.5%)
CIE-LABlab(27.90, 25.11, -46.89)
CIE-LCHlch(27.90, 53.19, 298.17°)
OKLaboklab(38.85% 0.0142 -0.1347)
OKLCHoklch(38.85% 0.135 276)
XYZxyz(7.4890, 5.4219, 25.0730)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34388B #8B8734
analogous
#34648B #34388B #5B348B
triadic
#34388B #8B3438 #388B34
tetradic
#34388B #8B3464 #8B8734 #348B5B
square
#34388B #8B3464 #8B8734 #348B5B
split-complementary
#34388B #8B5B34 #648B34
monochromatic
#131432 #23265E #34388B #454AB8 #7074C9

Accessibility & contrast

On white

10.07
#34388B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#34388B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34388B
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34388B#FFFFFF#000000##FFFFFF
##34388B1.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #34388b;
/* rgb */ color: rgb(52, 56, 139);
/* oklch */ color: oklch(38.9% 0.135 276.0);
Tailwind
colors: {
  custom: {
    50: '#756eae',
    500: '#34388b',
    950: '#000000',
  },
}
SCSS
$custom: #34388b;
$custom-light: #756eae;
$custom-dark: #000000;
JSON
{
  "hex": "#34388b",
  "rgb": {
    "r": 52,
    "g": 56,
    "b": 139
  },
  "hsl": {
    "h": 237.241,
    "s": 45.55,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38852,
    "c": 0.13549,
    "h": 276
  },
  "luminance": 0.05422
}

Semantic roles & 50–950 ramp

primary
#34388B
secondary
#B2AE69
accent
#CF53D5
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #34388B

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

Preview Lab → · Contrast checker → · Palette generator →

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