#343CB5#343CB5

#343CB5 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.3% C 0.188 H 272.6°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#343CB5
RGBrgb(52, 60, 181)
HSLhsl(236, 55%, 46%)
HSVhsv(236, 71%, 71%)
CMYKcmyk(71.3%, 66.9%, 0%, 29%)
CIE-LABlab(32.47, 37.42, -64.86)
CIE-LCHlch(32.47, 74.89, 299.98°)
OKLaboklab(43.32% 0.0086 -0.1875)
OKLCHoklch(43.32% 0.188 272.6)
XYZxyz(11.3697, 7.2969, 44.5163)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343CB5 #B5AD34
analogous
#347CB5 #343CB5 #6C34B5
triadic
#343CB5 #B5343C #3CB534
tetradic
#343CB5 #B5347C #B5AD34 #34B56C
square
#343CB5 #B5347C #B5AD34 #34B56C
split-complementary
#343CB5 #B56C34 #7CB534
monochromatic
#191C56 #262C85 #343CB5 #575FCF #878CDC

Accessibility & contrast

On white

8.54
#343CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#343CB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343CB5
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343CB5#FFFFFF#000000##FFFFFF
##343CB51.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#0046B3
Tritanopia (blue-blind)
#005C73
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #343cb5;
/* rgb */ color: rgb(52, 60, 181);
/* oklch */ color: oklch(43.3% 0.188 272.6);
Tailwind
colors: {
  custom: {
    50: '#7e72cc',
    500: '#343cb5',
    950: '#000000',
  },
}
SCSS
$custom: #343cb5;
$custom-light: #7e72cc;
$custom-dark: #000000;
JSON
{
  "hex": "#343cb5",
  "rgb": {
    "r": 52,
    "g": 60,
    "b": 181
  },
  "hsl": {
    "h": 236.279,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.43317,
    "c": 0.18766,
    "h": 272.6
  },
  "luminance": 0.07298
}

Semantic roles & 50–950 ramp

primary
#343CB5
secondary
#C6C27F
accent
#D549DF
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #343CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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