#343B71#343B71

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

Color values

HEX#343B71
RGBrgb(52, 59, 113)
HSLhsl(233, 37%, 32%)
HSVhsv(233, 54%, 44%)
CMYKcmyk(54%, 47.8%, 0%, 55.7%)
CIE-LABlab(26.88, 13.83, -32.23)
CIE-LCHlch(26.88, 35.07, 293.22°)
OKLaboklab(37.49% 0.0088 -0.0916)
OKLCHoklch(37.49% 0.092 275.5)
XYZxyz(5.9598, 5.0499, 16.2803)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343B71 #716A34
analogous
#345971 #343B71 #4C3471
triadic
#343B71 #71343B #3B7134
tetradic
#343B71 #713459 #716A34 #34714C
square
#343B71 #713459 #716A34 #34714C
split-complementary
#343B71 #714C34 #597134
monochromatic
#0D0F1D #212547 #343B71 #47519B #6770B9

Accessibility & contrast

On white

10.45
#343B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #343B71
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343B71#FFFFFF#000000##FFFFFF
##343B711.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244273
Deuteranopia (green-blind)
#1D3D70
Tritanopia (blue-blind)
#1A4750
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #343b71;
/* rgb */ color: rgb(52, 59, 113);
/* oklch */ color: oklch(37.5% 0.092 275.5);
Tailwind
colors: {
  custom: {
    50: '#70709a',
    500: '#343b71',
    950: '#000000',
  },
}
SCSS
$custom: #343b71;
$custom-light: #70709a;
$custom-dark: #000000;
JSON
{
  "hex": "#343b71",
  "rgb": {
    "r": 52,
    "g": 59,
    "b": 113
  },
  "hsl": {
    "h": 233.115,
    "s": 36.97,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37487,
    "c": 0.09203,
    "h": 275.5
  },
  "luminance": 0.0505
}

Semantic roles & 50–950 ramp

primary
#343B71
secondary
#A19A60
accent
#C05BCD
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#08070E
muted
#7B7A7E

Preview Lab

Preview with #343B71

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

Preview Lab → · Contrast checker → · Palette generator →

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