#343CB2#343CB2

#343CB2 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.0% C 0.184 H 272.8°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#343CB2
RGBrgb(52, 60, 178)
HSLhsl(236, 55%, 45%)
HSVhsv(236, 71%, 70%)
CMYKcmyk(70.8%, 66.3%, 0%, 30.2%)
CIE-LABlab(32.20, 36.37, -63.53)
CIE-LCHlch(32.20, 73.20, 299.79°)
OKLaboklab(43.04% 0.0089 -0.1835)
OKLCHoklch(43.04% 0.184 272.8)
XYZxyz(11.0652, 7.1751, 42.9126)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343CB2 #B2AA34
analogous
#347BB2 #343CB2 #6B34B2
triadic
#343CB2 #B2343C #3CB234
tetradic
#343CB2 #B2347B #B2AA34 #34B26B
square
#343CB2 #B2347B #B2AA34 #34B26B
split-complementary
#343CB2 #B26B34 #7BB234
monochromatic
#181C53 #262C83 #343CB2 #565DCE #858BDB

Accessibility & contrast

On white

8.62
#343CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#343CB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343CB2
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343CB2#FFFFFF#000000##FFFFFF
##343CB21.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#0046B0
Tritanopia (blue-blind)
#005B72
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #343cb2;
/* rgb */ color: rgb(52, 60, 178);
/* oklch */ color: oklch(43.0% 0.184 272.8);
Tailwind
colors: {
  custom: {
    50: '#7d72ca',
    500: '#343cb2',
    950: '#000000',
  },
}
SCSS
$custom: #343cb2;
$custom-light: #7d72ca;
$custom-dark: #000000;
JSON
{
  "hex": "#343cb2",
  "rgb": {
    "r": 52,
    "g": 60,
    "b": 178
  },
  "hsl": {
    "h": 236.19,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43036,
    "c": 0.18377,
    "h": 272.8
  },
  "luminance": 0.07176
}

Semantic roles & 50–950 ramp

primary
#343CB2
secondary
#C5C07D
accent
#D54ADE
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #343CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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