#343CB7#343CB7

#343CB7 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.5% C 0.190 H 272.5°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#343CB7
RGBrgb(52, 60, 183)
HSLhsl(236, 56%, 46%)
HSVhsv(236, 72%, 72%)
CMYKcmyk(71.6%, 67.2%, 0%, 28.2%)
CIE-LABlab(32.66, 38.12, -65.75)
CIE-LCHlch(32.66, 76.00, 300.11°)
OKLaboklab(43.51% 0.0084 -0.19)
OKLCHoklch(43.51% 0.19 272.5)
XYZxyz(11.5764, 7.3795, 45.6049)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343CB7 #B7AF34
analogous
#347DB7 #343CB7 #6D34B7
triadic
#343CB7 #B7343C #3CB734
tetradic
#343CB7 #B7347D #B7AF34 #34B76D
square
#343CB7 #B7347D #B7AF34 #34B76D
split-complementary
#343CB7 #B76D34 #7DB734
monochromatic
#191D58 #262C87 #343CB7 #5960D0 #888DDD

Accessibility & contrast

On white

8.48
#343CB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#343CB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343CB7
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343CB7#FFFFFF#000000##FFFFFF
##343CB71.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BB
Deuteranopia (green-blind)
#0047B5
Tritanopia (blue-blind)
#005D74
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #343cb7;
/* rgb */ color: rgb(52, 60, 183);
/* oklch */ color: oklch(43.5% 0.190 272.5);
Tailwind
colors: {
  custom: {
    50: '#7e72ce',
    500: '#343cb7',
    950: '#000000',
  },
}
SCSS
$custom: #343cb7;
$custom-light: #7e72ce;
$custom-dark: #000000;
JSON
{
  "hex": "#343cb7",
  "rgb": {
    "r": 52,
    "g": 60,
    "b": 183
  },
  "hsl": {
    "h": 236.336,
    "s": 55.745,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43505,
    "c": 0.19024,
    "h": 272.5
  },
  "luminance": 0.07381
}

Semantic roles & 50–950 ramp

primary
#343CB7
secondary
#C7C380
accent
#D649DF
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #343CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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