#343D96#343D96

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

Color values

HEX#343D96
RGBrgb(52, 61, 150)
HSLhsl(234, 49%, 40%)
HSVhsv(234, 65%, 59%)
CMYKcmyk(65.3%, 59.3%, 0%, 41.2%)
CIE-LABlab(30.08, 25.74, -50.12)
CIE-LCHlch(30.08, 56.34, 297.19°)
OKLaboklab(40.74% 0.0094 -0.1442)
OKLCHoklch(40.74% 0.145 273.7)
XYZxyz(8.5881, 6.2688, 29.6057)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343D96 #968D34
analogous
#346E96 #343D96 #5C3496
triadic
#343D96 #96343D #3D9634
tetradic
#343D96 #96346E #968D34 #34965C
square
#343D96 #96346E #968D34 #34965C
split-complementary
#343D96 #965C34 #6E9634
monochromatic
#14183B #242B69 #343D96 #4853BF #757DCF

Accessibility & contrast

On white

9.32
#343D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#343D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343D96
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343D96#FFFFFF#000000##FFFFFF
##343D961.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #343d96;
/* rgb */ color: rgb(52, 61, 150);
/* oklch */ color: oklch(40.7% 0.144 273.7);
Tailwind
colors: {
  custom: {
    50: '#7772b6',
    500: '#343d96',
    950: '#000000',
  },
}
SCSS
$custom: #343d96;
$custom-light: #7772b6;
$custom-dark: #000000;
JSON
{
  "hex": "#343d96",
  "rgb": {
    "r": 52,
    "g": 61,
    "b": 150
  },
  "hsl": {
    "h": 234.49,
    "s": 48.515,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40741,
    "c": 0.1445,
    "h": 273.7
  },
  "luminance": 0.0627
}

Semantic roles & 50–950 ramp

primary
#343D96
secondary
#B8B16E
accent
#CC50D8
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #343D96

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

Preview Lab → · Contrast checker → · Palette generator →

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