#343E93#343E93

#343E93 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.7% C 0.139 H 273.5°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#343E93
RGBrgb(52, 62, 147)
HSLhsl(234, 48%, 39%)
HSVhsv(234, 65%, 58%)
CMYKcmyk(64.6%, 57.8%, 0%, 42.4%)
CIE-LABlab(30.11, 23.99, -48.24)
CIE-LCHlch(30.11, 53.87, 296.45°)
OKLaboklab(40.69% 0.0084 -0.1386)
OKLCHoklch(40.69% 0.139 273.5)
XYZxyz(8.4035, 6.2812, 28.3676)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343E93 #938934
analogous
#346E93 #343E93 #5A3493
triadic
#343E93 #93343E #3E9334
tetradic
#343E93 #93346E #938934 #34935A
square
#343E93 #93346E #938934 #34935A
split-complementary
#343E93 #935A34 #6E9334
monochromatic
#141839 #242B66 #343E93 #4653BE #747DCE

Accessibility & contrast

On white

9.31
#343E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#343E93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343E93
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343E93#FFFFFF#000000##FFFFFF
##343E931.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B96
Deuteranopia (green-blind)
#004391
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #343e93;
/* rgb */ color: rgb(52, 62, 147);
/* oklch */ color: oklch(40.7% 0.139 273.5);
Tailwind
colors: {
  custom: {
    50: '#7673b3',
    500: '#343e93',
    950: '#000000',
  },
}
SCSS
$custom: #343e93;
$custom-light: #7673b3;
$custom-dark: #000000;
JSON
{
  "hex": "#343e93",
  "rgb": {
    "r": 52,
    "g": 62,
    "b": 147
  },
  "hsl": {
    "h": 233.684,
    "s": 47.739,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4069,
    "c": 0.1389,
    "h": 273.5
  },
  "luminance": 0.06282
}

Semantic roles & 50–950 ramp

primary
#343E93
secondary
#B6AE6D
accent
#C950D7
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #343E93

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

Preview Lab → · Contrast checker → · Palette generator →

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