#343E77#343E77

#343E77 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.6% C 0.097 H 273.5°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#343E77
RGBrgb(52, 62, 119)
HSLhsl(231, 39%, 34%)
HSVhsv(231, 56%, 47%)
CMYKcmyk(56.3%, 47.9%, 0%, 53.3%)
CIE-LABlab(28.13, 13.90, -34.02)
CIE-LCHlch(28.13, 36.75, 292.23°)
OKLaboklab(38.57% 0.006 -0.0968)
OKLCHoklch(38.57% 0.097 273.5)
XYZxyz(6.4675, 5.5068, 18.1713)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343E77 #776D34
analogous
#345F77 #343E77 #4B3477
triadic
#343E77 #77343E #3E7734
tetradic
#343E77 #77345F #776D34 #34774B
square
#343E77 #77345F #776D34 #34774B
split-complementary
#343E77 #774B34 #5F7734
monochromatic
#0F1222 #21284C #343E77 #4754A2 #6875BD

Accessibility & contrast

On white

9.99
#343E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#343E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343E77
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343E77#FFFFFF#000000##FFFFFF
##343E771.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)
#254579
Deuteranopia (green-blind)
#1D4076
Tritanopia (blue-blind)
#134A54
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #343e77;
/* rgb */ color: rgb(52, 62, 119);
/* oklch */ color: oklch(38.6% 0.097 273.5);
Tailwind
colors: {
  custom: {
    50: '#71739e',
    500: '#343e77',
    950: '#000000',
  },
}
SCSS
$custom: #343e77;
$custom-light: #71739e;
$custom-dark: #000000;
JSON
{
  "hex": "#343e77",
  "rgb": {
    "r": 52,
    "g": 62,
    "b": 119
  },
  "hsl": {
    "h": 231.045,
    "s": 39.181,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38567,
    "c": 0.09703,
    "h": 273.5
  },
  "luminance": 0.05507
}

Semantic roles & 50–950 ramp

primary
#343E77
secondary
#A59B61
accent
#BD59CF
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#08080E
muted
#7B7B7E

Preview Lab

Preview with #343E77

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

Preview Lab → · Contrast checker → · Palette generator →

#343E77 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva