#343FAC#343FAC

#343FAC is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.0% C 0.172 H 272.4°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#343FAC
RGBrgb(52, 63, 172)
HSLhsl(235, 54%, 44%)
HSVhsv(235, 70%, 67%)
CMYKcmyk(69.8%, 63.4%, 0%, 32.5%)
CIE-LABlab(32.40, 32.35, -59.63)
CIE-LCHlch(32.40, 67.84, 298.48°)
OKLaboklab(43.02% 0.0072 -0.1721)
OKLCHoklch(43.02% 0.172 272.4)
XYZxyz(10.6376, 7.2626, 39.8629)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343FAC #ACA134
analogous
#347BAC #343FAC #6534AC
triadic
#343FAC #AC343F #3FAC34
tetradic
#343FAC #AC347B #ACA134 #34AC65
square
#343FAC #AC347B #ACA134 #34AC65
split-complementary
#343FAC #AC6534 #7BAC34
monochromatic
#181D4E #262E7D #343FAC #525DCB #8189D9

Accessibility & contrast

On white

8.56
#343FAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#343FAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343FAC
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343FAC#FFFFFF#000000##FFFFFF
##343FAC1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B0
Deuteranopia (green-blind)
#0047AA
Tritanopia (blue-blind)
#005B6F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #343fac;
/* rgb */ color: rgb(52, 63, 172);
/* oklch */ color: oklch(43.0% 0.172 272.4);
Tailwind
colors: {
  custom: {
    50: '#7b74c6',
    500: '#343fac',
    950: '#000000',
  },
}
SCSS
$custom: #343fac;
$custom-light: #7b74c6;
$custom-dark: #000000;
JSON
{
  "hex": "#343fac",
  "rgb": {
    "r": 52,
    "g": 63,
    "b": 172
  },
  "hsl": {
    "h": 234.5,
    "s": 53.571,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43017,
    "c": 0.17227,
    "h": 272.4
  },
  "luminance": 0.07264
}

Semantic roles & 50–950 ramp

primary
#343FAC
secondary
#C2BC79
accent
#D04BDD
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #343FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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