#343BAC#343BAC

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

Color values

HEX#343BAC
RGBrgb(52, 59, 172)
HSLhsl(237, 54%, 44%)
HSVhsv(237, 70%, 67%)
CMYKcmyk(69.8%, 65.7%, 0%, 32.5%)
CIE-LABlab(31.43, 34.89, -61.22)
CIE-LCHlch(31.43, 70.46, 299.68°)
OKLaboklab(42.31% 0.0101 -0.1768)
OKLCHoklch(42.31% 0.177 273.3)
XYZxyz(10.4240, 6.8356, 39.7918)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343BAC #ACA534
analogous
#3477AC #343BAC #6934AC
triadic
#343BAC #AC343B #3BAC34
tetradic
#343BAC #AC3477 #ACA534 #34AC69
square
#343BAC #AC3477 #ACA534 #34AC69
split-complementary
#343BAC #AC6934 #77AC34
monochromatic
#181B4E #262B7D #343BAC #5259CB #8186D9

Accessibility & contrast

On white

8.87
#343BAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#343BAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343BAC
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343BAC#FFFFFF#000000##FFFFFF
##343BAC1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B0
Deuteranopia (green-blind)
#0044AA
Tritanopia (blue-blind)
#00596E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #343bac;
/* rgb */ color: rgb(52, 59, 172);
/* oklch */ color: oklch(42.3% 0.177 273.3);
Tailwind
colors: {
  custom: {
    50: '#7c71c6',
    500: '#343bac',
    950: '#000000',
  },
}
SCSS
$custom: #343bac;
$custom-light: #7c71c6;
$custom-dark: #000000;
JSON
{
  "hex": "#343bac",
  "rgb": {
    "r": 52,
    "g": 59,
    "b": 172
  },
  "hsl": {
    "h": 236.5,
    "s": 53.571,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42308,
    "c": 0.17707,
    "h": 273.3
  },
  "luminance": 0.06837
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #343BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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