#343AB3#343AB3

#343AB3 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.8% C 0.187 H 273.1°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#343AB3
RGBrgb(52, 58, 179)
HSLhsl(237, 55%, 45%)
HSVhsv(237, 71%, 70%)
CMYKcmyk(70.9%, 67.6%, 0%, 29.8%)
CIE-LABlab(31.83, 37.97, -64.73)
CIE-LCHlch(31.83, 75.05, 300.39°)
OKLaboklab(42.79% 0.0101 -0.1871)
OKLCHoklch(42.79% 0.187 273.1)
XYZxyz(11.0632, 7.0098, 43.4091)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343AB3 #B3AD34
analogous
#347AB3 #343AB3 #6D34B3
triadic
#343AB3 #B3343A #3AB334
tetradic
#343AB3 #B3347A #B3AD34 #34B36D
square
#343AB3 #B3347A #B3AD34 #34B36D
split-complementary
#343AB3 #B36D34 #7AB334
monochromatic
#181B54 #262B84 #343AB3 #565CCE #868ADC

Accessibility & contrast

On white

8.74
#343AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#343AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343AB3
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343AB3#FFFFFF#000000##FFFFFF
##343AB31.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#0045B1
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #343ab3;
/* rgb */ color: rgb(52, 58, 179);
/* oklch */ color: oklch(42.8% 0.187 273.1);
Tailwind
colors: {
  custom: {
    50: '#7d71cb',
    500: '#343ab3',
    950: '#000000',
  },
}
SCSS
$custom: #343ab3;
$custom-light: #7d71cb;
$custom-dark: #000000;
JSON
{
  "hex": "#343ab3",
  "rgb": {
    "r": 52,
    "g": 58,
    "b": 179
  },
  "hsl": {
    "h": 237.165,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.42793,
    "c": 0.18736,
    "h": 273.1
  },
  "luminance": 0.07011
}

Semantic roles & 50–950 ramp

primary
#343AB3
secondary
#C5C27D
accent
#D749DE
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #343AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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