#343CB4#343CB4

#343CB4 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.2% C 0.186 H 272.7°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#343CB4
RGBrgb(52, 60, 180)
HSLhsl(236, 55%, 45%)
HSVhsv(236, 71%, 71%)
CMYKcmyk(71.1%, 66.7%, 0%, 29.4%)
CIE-LABlab(32.38, 37.08, -64.42)
CIE-LCHlch(32.38, 74.33, 299.92°)
OKLaboklab(43.22% 0.0087 -0.1862)
OKLCHoklch(43.22% 0.186 272.7)
XYZxyz(11.2675, 7.2560, 43.9779)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343CB4 #B4AC34
analogous
#347CB4 #343CB4 #6C34B4
triadic
#343CB4 #B4343C #3CB434
tetradic
#343CB4 #B4347C #B4AC34 #34B46C
square
#343CB4 #B4347C #B4AC34 #34B46C
split-complementary
#343CB4 #B46C34 #7CB434
monochromatic
#191C55 #262C85 #343CB4 #575ECE #868CDC

Accessibility & contrast

On white

8.57
#343CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#343CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343CB4
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343CB4#FFFFFF#000000##FFFFFF
##343CB41.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #343cb4;
/* rgb */ color: rgb(52, 60, 180);
/* oklch */ color: oklch(43.2% 0.186 272.7);
Tailwind
colors: {
  custom: {
    50: '#7d72cc',
    500: '#343cb4',
    950: '#000000',
  },
}
SCSS
$custom: #343cb4;
$custom-light: #7d72cc;
$custom-dark: #000000;
JSON
{
  "hex": "#343cb4",
  "rgb": {
    "r": 52,
    "g": 60,
    "b": 180
  },
  "hsl": {
    "h": 236.25,
    "s": 55.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.43223,
    "c": 0.18636,
    "h": 272.7
  },
  "luminance": 0.07257
}

Semantic roles & 50–950 ramp

primary
#343CB4
secondary
#C6C17E
accent
#D549DF
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #343CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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