#343DBA#343DBA

#343DBA is a dark, vivid blue. Relative luminance 0.076; OKLCH L 44.0% C 0.193 H 272.2°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#343DBA
RGBrgb(52, 61, 186)
HSLhsl(236, 56%, 47%)
HSVhsv(236, 72%, 73%)
CMYKcmyk(72%, 67.2%, 0%, 27.1%)
CIE-LABlab(33.16, 38.55, -66.70)
CIE-LCHlch(33.16, 77.04, 300.03°)
OKLaboklab(43.96% 0.0075 -0.1928)
OKLCHoklch(43.96% 0.193 272.2)
XYZxyz(11.9449, 7.6115, 47.2845)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343DBA #BAB134
analogous
#3480BA #343DBA #6E34BA
triadic
#343DBA #BA343D #3DBA34
tetradic
#343DBA #BA3480 #BAB134 #34BA6E
square
#343DBA #BA3480 #BAB134 #34BA6E
split-complementary
#343DBA #BA6E34 #80BA34
monochromatic
#191E5A #272D8A #343DBA #5A62D1 #8A90DE

Accessibility & contrast

On white

8.32
#343DBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#343DBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343DBA
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343DBA#FFFFFF#000000##FFFFFF
##343DBA1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BE
Deuteranopia (green-blind)
#0048B8
Tritanopia (blue-blind)
#005F76
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #343dba;
/* rgb */ color: rgb(52, 61, 186);
/* oklch */ color: oklch(44.0% 0.193 272.2);
Tailwind
colors: {
  custom: {
    50: '#7f73d0',
    500: '#343dba',
    950: '#000000',
  },
}
SCSS
$custom: #343dba;
$custom-light: #7f73d0;
$custom-dark: #000000;
JSON
{
  "hex": "#343dba",
  "rgb": {
    "r": 52,
    "g": 61,
    "b": 186
  },
  "hsl": {
    "h": 235.97,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.43955,
    "c": 0.19296,
    "h": 272.2
  },
  "luminance": 0.07613
}

Semantic roles & 50–950 ramp

primary
#343DBA
secondary
#C8C481
accent
#D548E0
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #343DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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