#34388E#34388E

#34388E is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.1% C 0.140 H 275.8°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#34388E
RGBrgb(52, 56, 142)
HSLhsl(237, 46%, 38%)
HSVhsv(237, 63%, 56%)
CMYKcmyk(63.4%, 60.6%, 0%, 44.3%)
CIE-LABlab(28.14, 26.18, -48.36)
CIE-LCHlch(28.14, 54.99, 298.43°)
OKLaboklab(39.1% 0.0141 -0.1391)
OKLCHoklch(39.1% 0.14 275.8)
XYZxyz(7.7112, 5.5108, 26.2433)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34388E #8E8A34
analogous
#34658E #34388E #5D348E
triadic
#34388E #8E3438 #388E34
tetradic
#34388E #8E3465 #8E8A34 #348E5D
square
#34388E #8E3465 #8E8A34 #348E5D
split-complementary
#34388E #8E5D34 #658E34
monochromatic
#131534 #242661 #34388E #444ABB #7175CB

Accessibility & contrast

On white

9.99
#34388E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34388E
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34388E#FFFFFF#000000##FFFFFF
##34388E1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #34388e;
/* rgb */ color: rgb(52, 56, 142);
/* oklch */ color: oklch(39.1% 0.140 275.8);
Tailwind
colors: {
  custom: {
    50: '#766eb0',
    500: '#34388e',
    950: '#000000',
  },
}
SCSS
$custom: #34388e;
$custom-light: #766eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#34388e",
  "rgb": {
    "r": 52,
    "g": 56,
    "b": 142
  },
  "hsl": {
    "h": 237.333,
    "s": 46.392,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39104,
    "c": 0.13978,
    "h": 275.8
  },
  "luminance": 0.05511
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #34388E

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

Preview Lab → · Contrast checker → · Palette generator →

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