#34388F#34388F

#34388F is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.2% C 0.141 H 275.7°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#34388F
RGBrgb(52, 56, 143)
HSLhsl(237, 47%, 38%)
HSVhsv(237, 64%, 56%)
CMYKcmyk(63.6%, 60.8%, 0%, 43.9%)
CIE-LABlab(28.22, 26.54, -48.84)
CIE-LCHlch(28.22, 55.59, 298.52°)
OKLaboklab(39.19% 0.0141 -0.1405)
OKLCHoklch(39.19% 0.141 275.7)
XYZxyz(7.7867, 5.5410, 26.6404)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34388F #8F8B34
analogous
#34658F #34388F #5D348F
triadic
#34388F #8F3438 #388F34
tetradic
#34388F #8F3465 #8F8B34 #348F5D
square
#34388F #8F3465 #8F8B34 #348F5D
split-complementary
#34388F #8F5D34 #658F34
monochromatic
#131535 #242662 #34388F #454ABB #7276CC

Accessibility & contrast

On white

9.96
#34388F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#34388F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34388F
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34388F#FFFFFF#000000##FFFFFF
##34388F1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#003F8D
Tritanopia (blue-blind)
#004D5E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #34388f;
/* rgb */ color: rgb(52, 56, 143);
/* oklch */ color: oklch(39.2% 0.141 275.7);
Tailwind
colors: {
  custom: {
    50: '#766eb0',
    500: '#34388f',
    950: '#000000',
  },
}
SCSS
$custom: #34388f;
$custom-light: #766eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#34388f",
  "rgb": {
    "r": 52,
    "g": 56,
    "b": 143
  },
  "hsl": {
    "h": 237.363,
    "s": 46.667,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39188,
    "c": 0.1412,
    "h": 275.7
  },
  "luminance": 0.05542
}

Semantic roles & 50–950 ramp

primary
#34388F
secondary
#B4B16B
accent
#D051D6
background
#F7F6FA
surface
#EEECF5
border
#C9C7CF
text
#090711
muted
#7B7A80

Preview Lab

Preview with #34388F

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

Preview Lab → · Contrast checker → · Palette generator →

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