#343BAB#343BAB

#343BAB is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.2% C 0.176 H 273.3°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#343BAB
RGBrgb(52, 59, 171)
HSLhsl(236, 53%, 44%)
HSVhsv(236, 70%, 67%)
CMYKcmyk(69.6%, 65.5%, 0%, 32.9%)
CIE-LABlab(31.34, 34.54, -60.76)
CIE-LCHlch(31.34, 69.89, 299.62°)
OKLaboklab(42.22% 0.0102 -0.1755)
OKLCHoklch(42.22% 0.176 273.3)
XYZxyz(10.3284, 6.7973, 39.2879)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343BAB #ABA434
analogous
#3476AB #343BAB #6834AB
triadic
#343BAB #AB343B #3BAB34
tetradic
#343BAB #AB3476 #ABA434 #34AB68
square
#343BAB #AB3476 #ABA434 #34AB68
split-complementary
#343BAB #AB6834 #76AB34
monochromatic
#171B4D #262B7C #343BAB #5259CA #8186D9

Accessibility & contrast

On white

8.90
#343BAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#343BAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343BAB
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343BAB#FFFFFF#000000##FFFFFF
##343BAB1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#0044A9
Tritanopia (blue-blind)
#00586D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #343bab;
/* rgb */ color: rgb(52, 59, 171);
/* oklch */ color: oklch(42.2% 0.176 273.3);
Tailwind
colors: {
  custom: {
    50: '#7c71c5',
    500: '#343bab',
    950: '#000000',
  },
}
SCSS
$custom: #343bab;
$custom-light: #7c71c5;
$custom-dark: #000000;
JSON
{
  "hex": "#343bab",
  "rgb": {
    "r": 52,
    "g": 59,
    "b": 171
  },
  "hsl": {
    "h": 236.471,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42216,
    "c": 0.17576,
    "h": 273.3
  },
  "luminance": 0.06798
}

Semantic roles & 50–950 ramp

primary
#343BAB
secondary
#C2BE79
accent
#D44BDD
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #343BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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