#343AB1#343AB1

#343AB1 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.6% C 0.185 H 273.2°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#343AB1
RGBrgb(52, 58, 177)
HSLhsl(237, 55%, 45%)
HSVhsv(237, 71%, 69%)
CMYKcmyk(70.6%, 67.2%, 0%, 30.6%)
CIE-LABlab(31.65, 37.27, -63.85)
CIE-LCHlch(31.65, 73.93, 300.28°)
OKLaboklab(42.6% 0.0104 -0.1845)
OKLCHoklch(42.6% 0.185 273.2)
XYZxyz(10.8624, 6.9295, 42.3515)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343AB1 #B1AB34
analogous
#3479B1 #343AB1 #6D34B1
triadic
#343AB1 #B1343A #3AB134
tetradic
#343AB1 #B13479 #B1AB34 #34B16D
square
#343AB1 #B13479 #B1AB34 #34B16D
split-complementary
#343AB1 #B16D34 #79B134
monochromatic
#181B52 #262A82 #343AB1 #555BCD #8489DB

Accessibility & contrast

On white

8.80
#343AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #343AB1
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343AB1#FFFFFF#000000##FFFFFF
##343AB11.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B5
Deuteranopia (green-blind)
#0045AF
Tritanopia (blue-blind)
#005A70
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #343ab1;
/* rgb */ color: rgb(52, 58, 177);
/* oklch */ color: oklch(42.6% 0.185 273.2);
Tailwind
colors: {
  custom: {
    50: '#7d70c9',
    500: '#343ab1',
    950: '#000000',
  },
}
SCSS
$custom: #343ab1;
$custom-light: #7d70c9;
$custom-dark: #000000;
JSON
{
  "hex": "#343ab1",
  "rgb": {
    "r": 52,
    "g": 58,
    "b": 177
  },
  "hsl": {
    "h": 237.12,
    "s": 54.585,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42604,
    "c": 0.18478,
    "h": 273.2
  },
  "luminance": 0.06931
}

Semantic roles & 50–950 ramp

primary
#343AB1
secondary
#C5C17C
accent
#D74ADE
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #343AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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