#343E96#343E96

#343E96 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.9% C 0.143 H 273.4°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#343E96
RGBrgb(52, 62, 150)
HSLhsl(234, 49%, 40%)
HSVhsv(234, 65%, 59%)
CMYKcmyk(65.3%, 58.7%, 0%, 41.2%)
CIE-LABlab(30.34, 25.08, -49.69)
CIE-LCHlch(30.34, 55.66, 296.78°)
OKLaboklab(40.94% 0.0084 -0.1429)
OKLCHoklch(40.94% 0.143 273.4)
XYZxyz(8.6420, 6.3766, 29.6236)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343E96 #968C34
analogous
#346F96 #343E96 #5B3496
triadic
#343E96 #96343E #3E9634
tetradic
#343E96 #96346F #968C34 #34965B
square
#343E96 #96346F #968C34 #34965B
split-complementary
#343E96 #965B34 #6F9634
monochromatic
#14183B #242B69 #343E96 #4854BF #757ECF

Accessibility & contrast

On white

9.23
#343E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#343E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343E96
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343E96#FFFFFF#000000##FFFFFF
##343E961.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#004394
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #343e96;
/* rgb */ color: rgb(52, 62, 150);
/* oklch */ color: oklch(40.9% 0.143 273.4);
Tailwind
colors: {
  custom: {
    50: '#7773b6',
    500: '#343e96',
    950: '#000000',
  },
}
SCSS
$custom: #343e96;
$custom-light: #7773b6;
$custom-dark: #000000;
JSON
{
  "hex": "#343e96",
  "rgb": {
    "r": 52,
    "g": 62,
    "b": 150
  },
  "hsl": {
    "h": 233.878,
    "s": 48.515,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40936,
    "c": 0.14318,
    "h": 273.4
  },
  "luminance": 0.06377
}

Semantic roles & 50–950 ramp

primary
#343E96
secondary
#B8B06E
accent
#CA50D8
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #343E96

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

Preview Lab → · Contrast checker → · Palette generator →

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