#343AB5#343AB5

#343AB5 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.0% C 0.190 H 273.0°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#343AB5
RGBrgb(52, 58, 181)
HSLhsl(237, 55%, 46%)
HSVhsv(237, 71%, 71%)
CMYKcmyk(71.3%, 68%, 0%, 29%)
CIE-LABlab(32.01, 38.66, -65.62)
CIE-LCHlch(32.01, 76.16, 300.51°)
OKLaboklab(42.98% 0.0099 -0.1897)
OKLCHoklch(42.98% 0.19 273)
XYZxyz(11.2669, 7.0913, 44.4821)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343AB5 #B5AF34
analogous
#347AB5 #343AB5 #6E34B5
triadic
#343AB5 #B5343A #3AB534
tetradic
#343AB5 #B5347A #B5AF34 #34B56E
square
#343AB5 #B5347A #B5AF34 #34B56E
split-complementary
#343AB5 #B56E34 #7AB534
monochromatic
#191C56 #262B85 #343AB5 #575DCF #878BDC

Accessibility & contrast

On white

8.68
#343AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#343AB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343AB5
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343AB5#FFFFFF#000000##FFFFFF
##343AB51.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B9
Deuteranopia (green-blind)
#0045B3
Tritanopia (blue-blind)
#005B72
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #343ab5;
/* rgb */ color: rgb(52, 58, 181);
/* oklch */ color: oklch(43.0% 0.190 273.0);
Tailwind
colors: {
  custom: {
    50: '#7e71cc',
    500: '#343ab5',
    950: '#000000',
  },
}
SCSS
$custom: #343ab5;
$custom-light: #7e71cc;
$custom-dark: #000000;
JSON
{
  "hex": "#343ab5",
  "rgb": {
    "r": 52,
    "g": 58,
    "b": 181
  },
  "hsl": {
    "h": 237.209,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.42983,
    "c": 0.18994,
    "h": 273
  },
  "luminance": 0.07092
}

Semantic roles & 50–950 ramp

primary
#343AB5
secondary
#C6C37F
accent
#D849DF
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #343AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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