#343B72#343B72

#343B72 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.6% C 0.094 H 275.5°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#343B72
RGBrgb(52, 59, 114)
HSLhsl(233, 37%, 33%)
HSVhsv(233, 54%, 45%)
CMYKcmyk(54.4%, 48.2%, 0%, 55.3%)
CIE-LABlab(26.94, 14.18, -32.76)
CIE-LCHlch(26.94, 35.70, 293.40°)
OKLaboklab(37.56% 0.009 -0.0932)
OKLCHoklch(37.56% 0.094 275.5)
XYZxyz(6.0164, 5.0725, 16.5784)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343B72 #726B34
analogous
#345A72 #343B72 #4C3472
triadic
#343B72 #72343B #3B7234
tetradic
#343B72 #72345A #726B34 #34724C
square
#343B72 #72345A #726B34 #34724C
split-complementary
#343B72 #724C34 #5A7234
monochromatic
#0E0F1E #212548 #343B72 #47519C #6770BA

Accessibility & contrast

On white

10.42
#343B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#343B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343B72
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343B72#FFFFFF#000000##FFFFFF
##343B721.0010.422.0110.42
#FFFFFF10.421.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234274
Deuteranopia (green-blind)
#1C3D71
Tritanopia (blue-blind)
#194751
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #343b72;
/* rgb */ color: rgb(52, 59, 114);
/* oklch */ color: oklch(37.6% 0.094 275.5);
Tailwind
colors: {
  custom: {
    50: '#70709b',
    500: '#343b72',
    950: '#000000',
  },
}
SCSS
$custom: #343b72;
$custom-light: #70709b;
$custom-dark: #000000;
JSON
{
  "hex": "#343b72",
  "rgb": {
    "r": 52,
    "g": 59,
    "b": 114
  },
  "hsl": {
    "h": 233.226,
    "s": 37.349,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37556,
    "c": 0.09361,
    "h": 275.5
  },
  "luminance": 0.05073
}

Semantic roles & 50–950 ramp

primary
#343B72
secondary
#A29A60
accent
#C05ACD
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#08070E
muted
#7B7A7E

Preview Lab

Preview with #343B72

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

Preview Lab → · Contrast checker → · Palette generator →

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