#343ABA#343ABA

#343ABA is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.5% C 0.196 H 272.7°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#343ABA
RGBrgb(52, 58, 186)
HSLhsl(237, 56%, 47%)
HSVhsv(237, 72%, 73%)
CMYKcmyk(72%, 68.8%, 0%, 27.1%)
CIE-LABlab(32.48, 40.39, -67.81)
CIE-LCHlch(32.48, 78.93, 300.78°)
OKLaboklab(43.46% 0.0094 -0.1961)
OKLCHoklch(43.46% 0.196 272.7)
XYZxyz(11.7892, 7.3002, 47.2326)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343ABA #BAB434
analogous
#347DBA #343ABA #7134BA
triadic
#343ABA #BA343A #3ABA34
tetradic
#343ABA #BA347D #BAB434 #34BA71
square
#343ABA #BA347D #BAB434 #34BA71
split-complementary
#343ABA #BA7134 #7DBA34
monochromatic
#191C5A #272B8A #343ABA #5A60D1 #8A8EDE

Accessibility & contrast

On white

8.54
#343ABA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#343ABA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343ABA
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343ABA#FFFFFF#000000##FFFFFF
##343ABA1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BE
Deuteranopia (green-blind)
#0046B8
Tritanopia (blue-blind)
#005D75
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #343aba;
/* rgb */ color: rgb(52, 58, 186);
/* oklch */ color: oklch(43.5% 0.196 272.7);
Tailwind
colors: {
  custom: {
    50: '#7f71d0',
    500: '#343aba',
    950: '#000000',
  },
}
SCSS
$custom: #343aba;
$custom-light: #7f71d0;
$custom-dark: #000000;
JSON
{
  "hex": "#343aba",
  "rgb": {
    "r": 52,
    "g": 58,
    "b": 186
  },
  "hsl": {
    "h": 237.313,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.43463,
    "c": 0.1963,
    "h": 272.7
  },
  "luminance": 0.07301
}

Semantic roles & 50–950 ramp

primary
#343ABA
secondary
#C8C581
accent
#D948E0
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #343ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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