#343CAC#343CAC

#343CAC is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.5% C 0.176 H 273.1°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#343CAC
RGBrgb(52, 60, 172)
HSLhsl(236, 54%, 44%)
HSVhsv(236, 70%, 67%)
CMYKcmyk(69.8%, 65.1%, 0%, 32.5%)
CIE-LABlab(31.67, 34.26, -60.82)
CIE-LCHlch(31.67, 69.81, 299.39°)
OKLaboklab(42.48% 0.0094 -0.1756)
OKLCHoklch(42.48% 0.176 273.1)
XYZxyz(10.4759, 6.9393, 39.8091)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343CAC #ACA434
analogous
#3478AC #343CAC #6834AC
triadic
#343CAC #AC343C #3CAC34
tetradic
#343CAC #AC3478 #ACA434 #34AC68
square
#343CAC #AC3478 #ACA434 #34AC68
split-complementary
#343CAC #AC6834 #78AC34
monochromatic
#181B4E #262C7D #343CAC #525ACB #8187D9

Accessibility & contrast

On white

8.79
#343CAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#343CAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343CAC
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343CAC#FFFFFF#000000##FFFFFF
##343CAC1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #343cac;
/* rgb */ color: rgb(52, 60, 172);
/* oklch */ color: oklch(42.5% 0.176 273.1);
Tailwind
colors: {
  custom: {
    50: '#7c72c6',
    500: '#343cac',
    950: '#000000',
  },
}
SCSS
$custom: #343cac;
$custom-light: #7c72c6;
$custom-dark: #000000;
JSON
{
  "hex": "#343cac",
  "rgb": {
    "r": 52,
    "g": 60,
    "b": 172
  },
  "hsl": {
    "h": 236,
    "s": 53.571,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42483,
    "c": 0.17588,
    "h": 273.1
  },
  "luminance": 0.0694
}

Semantic roles & 50–950 ramp

primary
#343CAC
secondary
#C2BD79
accent
#D34BDD
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #343CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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