#343C96#343C96

#343C96 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.146 H 274.1°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#343C96
RGBrgb(52, 60, 150)
HSLhsl(235, 49%, 40%)
HSVhsv(235, 65%, 59%)
CMYKcmyk(65.3%, 60%, 0%, 41.2%)
CIE-LABlab(29.82, 26.40, -50.54)
CIE-LCHlch(29.82, 57.02, 297.58°)
OKLaboklab(40.55% 0.0103 -0.1454)
OKLCHoklch(40.55% 0.146 274.1)
XYZxyz(8.5352, 6.1631, 29.5880)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343C96 #968E34
analogous
#346D96 #343C96 #5D3496
triadic
#343C96 #96343C #3C9634
tetradic
#343C96 #96346D #968E34 #34965D
square
#343C96 #96346D #968E34 #34965D
split-complementary
#343C96 #965D34 #6D9634
monochromatic
#14183B #242A69 #343C96 #4852BF #757DCF

Accessibility & contrast

On white

9.41
#343C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#343C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343C96
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343C96#FFFFFF#000000##FFFFFF
##343C961.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#004294
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #343c96;
/* rgb */ color: rgb(52, 60, 150);
/* oklch */ color: oklch(40.5% 0.146 274.1);
Tailwind
colors: {
  custom: {
    50: '#7771b6',
    500: '#343c96',
    950: '#000000',
  },
}
SCSS
$custom: #343c96;
$custom-light: #7771b6;
$custom-dark: #000000;
JSON
{
  "hex": "#343c96",
  "rgb": {
    "r": 52,
    "g": 60,
    "b": 150
  },
  "hsl": {
    "h": 235.102,
    "s": 48.515,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40547,
    "c": 0.14581,
    "h": 274.1
  },
  "luminance": 0.06164
}

Semantic roles & 50–950 ramp

primary
#343C96
secondary
#B8B26E
accent
#CD50D8
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #343C96

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

Preview Lab → · Contrast checker → · Palette generator →

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