#343B91#343B91

#343B91 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.140 H 274.6°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#343B91
RGBrgb(52, 59, 145)
HSLhsl(235, 47%, 39%)
HSVhsv(235, 64%, 57%)
CMYKcmyk(64.1%, 59.3%, 0%, 43.1%)
CIE-LABlab(29.16, 25.27, -48.55)
CIE-LCHlch(29.16, 54.73, 297.49°)
OKLaboklab(39.93% 0.0112 -0.1396)
OKLCHoklch(39.93% 0.14 274.6)
XYZxyz(8.0893, 5.9017, 27.4954)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343B91 #918A34
analogous
#346991 #343B91 #5B3491
triadic
#343B91 #91343B #3B9134
tetradic
#343B91 #913469 #918A34 #34915B
square
#343B91 #913469 #918A34 #34915B
split-complementary
#343B91 #915B34 #699134
monochromatic
#141637 #242964 #343B91 #464FBD #7379CD

Accessibility & contrast

On white

9.63
#343B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#343B91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343B91
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343B91#FFFFFF#000000##FFFFFF
##343B911.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004994
Deuteranopia (green-blind)
#00418F
Tritanopia (blue-blind)
#005060
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #343b91;
/* rgb */ color: rgb(52, 59, 145);
/* oklch */ color: oklch(39.9% 0.140 274.6);
Tailwind
colors: {
  custom: {
    50: '#7671b2',
    500: '#343b91',
    950: '#000000',
  },
}
SCSS
$custom: #343b91;
$custom-light: #7671b2;
$custom-dark: #000000;
JSON
{
  "hex": "#343b91",
  "rgb": {
    "r": 52,
    "g": 59,
    "b": 145
  },
  "hsl": {
    "h": 235.484,
    "s": 47.208,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39935,
    "c": 0.14005,
    "h": 274.6
  },
  "luminance": 0.05902
}

Semantic roles & 50–950 ramp

primary
#343B91
secondary
#B5AF6C
accent
#CD51D7
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #343B91

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

Preview Lab → · Contrast checker → · Palette generator →

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