#343C93#343C93

#343C93 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.142 H 274.2°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#343C93
RGBrgb(52, 60, 147)
HSLhsl(235, 48%, 39%)
HSVhsv(235, 65%, 58%)
CMYKcmyk(64.6%, 59.2%, 0%, 42.4%)
CIE-LABlab(29.58, 25.32, -49.09)
CIE-LCHlch(29.58, 55.24, 297.29°)
OKLaboklab(40.3% 0.0103 -0.1412)
OKLCHoklch(40.3% 0.142 274.2)
XYZxyz(8.2968, 6.0677, 28.3321)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343C93 #938B34
analogous
#346C93 #343C93 #5C3493
triadic
#343C93 #93343C #3C9334
tetradic
#343C93 #93346C #938B34 #34935C
square
#343C93 #93346C #938B34 #34935C
split-complementary
#343C93 #935C34 #6C9334
monochromatic
#141739 #242A66 #343C93 #4651BE #747BCE

Accessibility & contrast

On white

9.49
#343C93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#343C93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343C93
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343C93#FFFFFF#000000##FFFFFF
##343C931.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A96
Deuteranopia (green-blind)
#004291
Tritanopia (blue-blind)
#005161
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #343c93;
/* rgb */ color: rgb(52, 60, 147);
/* oklch */ color: oklch(40.3% 0.142 274.2);
Tailwind
colors: {
  custom: {
    50: '#7671b3',
    500: '#343c93',
    950: '#000000',
  },
}
SCSS
$custom: #343c93;
$custom-light: #7671b3;
$custom-dark: #000000;
JSON
{
  "hex": "#343c93",
  "rgb": {
    "r": 52,
    "g": 60,
    "b": 147
  },
  "hsl": {
    "h": 234.947,
    "s": 47.739,
    "l": 39.02
  },
  "oklch": {
    "l": 0.40296,
    "c": 0.14157,
    "h": 274.2
  },
  "luminance": 0.06068
}

Semantic roles & 50–950 ramp

primary
#343C93
secondary
#B6B06D
accent
#CC50D7
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #343C93

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

Preview Lab → · Contrast checker → · Palette generator →

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