#343CB9#343CB9

#343CB9 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.7% C 0.193 H 272.5°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#343CB9
RGBrgb(52, 60, 185)
HSLhsl(236, 56%, 46%)
HSVhsv(236, 72%, 73%)
CMYKcmyk(71.9%, 67.6%, 0%, 27.5%)
CIE-LABlab(32.84, 38.82, -66.63)
CIE-LCHlch(32.84, 77.11, 300.22°)
OKLaboklab(43.69% 0.0083 -0.1926)
OKLCHoklch(43.69% 0.193 272.5)
XYZxyz(11.7860, 7.4634, 46.7090)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343CB9 #B9B134
analogous
#347FB9 #343CB9 #6F34B9
triadic
#343CB9 #B9343C #3CB934
tetradic
#343CB9 #B9347F #B9B134 #34B96F
square
#343CB9 #B9347F #B9B134 #34B96F
split-complementary
#343CB9 #B96F34 #7FB934
monochromatic
#191D59 #272D89 #343CB9 #5A61D1 #898FDE

Accessibility & contrast

On white

8.42
#343CB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#343CB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343CB9
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343CB9#FFFFFF#000000##FFFFFF
##343CB91.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BD
Deuteranopia (green-blind)
#0047B7
Tritanopia (blue-blind)
#005E75
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #343cb9;
/* rgb */ color: rgb(52, 60, 185);
/* oklch */ color: oklch(43.7% 0.193 272.5);
Tailwind
colors: {
  custom: {
    50: '#7f72cf',
    500: '#343cb9',
    950: '#000000',
  },
}
SCSS
$custom: #343cb9;
$custom-light: #7f72cf;
$custom-dark: #000000;
JSON
{
  "hex": "#343cb9",
  "rgb": {
    "r": 52,
    "g": 60,
    "b": 185
  },
  "hsl": {
    "h": 236.391,
    "s": 56.118,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43694,
    "c": 0.19281,
    "h": 272.5
  },
  "luminance": 0.07465
}

Semantic roles & 50–950 ramp

primary
#343CB9
secondary
#C8C481
accent
#D648DF
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #343CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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