#343A96#343A96

#343A96 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.2% C 0.148 H 274.7°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#343A96
RGBrgb(52, 58, 150)
HSLhsl(236, 49%, 40%)
HSVhsv(236, 65%, 59%)
CMYKcmyk(65.3%, 61.3%, 0%, 41.2%)
CIE-LABlab(29.30, 27.72, -51.38)
CIE-LCHlch(29.30, 58.38, 298.35°)
OKLaboklab(40.17% 0.0121 -0.1479)
OKLCHoklch(40.17% 0.148 274.7)
XYZxyz(8.4324, 5.9575, 29.5538)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343A96 #969034
analogous
#346B96 #343A96 #5F3496
triadic
#343A96 #96343A #3A9634
tetradic
#343A96 #96346B #969034 #34965F
square
#343A96 #96346B #969034 #34965F
split-complementary
#343A96 #965F34 #6B9634
monochromatic
#14173B #242869 #343A96 #484FBF #757BCF

Accessibility & contrast

On white

9.58
#343A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#343A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343A96
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343A96#FFFFFF#000000##FFFFFF
##343A961.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004999
Deuteranopia (green-blind)
#004194
Tritanopia (blue-blind)
#005162
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #343a96;
/* rgb */ color: rgb(52, 58, 150);
/* oklch */ color: oklch(40.2% 0.148 274.7);
Tailwind
colors: {
  custom: {
    50: '#7770b6',
    500: '#343a96',
    950: '#000000',
  },
}
SCSS
$custom: #343a96;
$custom-light: #7770b6;
$custom-dark: #000000;
JSON
{
  "hex": "#343a96",
  "rgb": {
    "r": 52,
    "g": 58,
    "b": 150
  },
  "hsl": {
    "h": 236.327,
    "s": 48.515,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40166,
    "c": 0.14844,
    "h": 274.7
  },
  "luminance": 0.05958
}

Semantic roles & 50–950 ramp

primary
#343A96
secondary
#B8B36E
accent
#D050D8
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #343A96

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

Preview Lab → · Contrast checker → · Palette generator →

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