#343BBA#343BBA

#343BBA is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.6% C 0.195 H 272.6°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#343BBA
RGBrgb(52, 59, 186)
HSLhsl(237, 56%, 47%)
HSVhsv(237, 72%, 73%)
CMYKcmyk(72%, 68.3%, 0%, 27.1%)
CIE-LABlab(32.71, 39.78, -67.44)
CIE-LCHlch(32.71, 78.30, 300.53°)
OKLaboklab(43.63% 0.0088 -0.195)
OKLCHoklch(43.63% 0.195 272.6)
XYZxyz(11.8401, 7.4020, 47.2496)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343BBA #BAB334
analogous
#347EBA #343BBA #7034BA
triadic
#343BBA #BA343B #3BBA34
tetradic
#343BBA #BA347E #BAB334 #34BA70
square
#343BBA #BA347E #BAB334 #34BA70
split-complementary
#343BBA #BA7034 #7EBA34
monochromatic
#191D5A #272C8A #343BBA #5A60D1 #8A8EDE

Accessibility & contrast

On white

8.47
#343BBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#343BBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343BBA
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343BBA#FFFFFF#000000##FFFFFF
##343BBA1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BE
Deuteranopia (green-blind)
#0047B8
Tritanopia (blue-blind)
#005D76
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #343bba;
/* rgb */ color: rgb(52, 59, 186);
/* oklch */ color: oklch(43.6% 0.195 272.6);
Tailwind
colors: {
  custom: {
    50: '#7f71d0',
    500: '#343bba',
    950: '#000000',
  },
}
SCSS
$custom: #343bba;
$custom-light: #7f71d0;
$custom-dark: #000000;
JSON
{
  "hex": "#343bba",
  "rgb": {
    "r": 52,
    "g": 59,
    "b": 186
  },
  "hsl": {
    "h": 236.866,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.43625,
    "c": 0.19521,
    "h": 272.6
  },
  "luminance": 0.07403
}

Semantic roles & 50–950 ramp

primary
#343BBA
secondary
#C8C581
accent
#D848E0
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #343BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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