#343CB8#343CB8

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

Color values

HEX#343CB8
RGBrgb(52, 60, 184)
HSLhsl(236, 56%, 46%)
HSVhsv(236, 72%, 72%)
CMYKcmyk(71.7%, 67.4%, 0%, 27.8%)
CIE-LABlab(32.75, 38.47, -66.19)
CIE-LCHlch(32.75, 76.56, 300.17°)
OKLaboklab(43.6% 0.0084 -0.1913)
OKLCHoklch(43.6% 0.192 272.5)
XYZxyz(11.6809, 7.4213, 46.1550)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343CB8 #B8B034
analogous
#347EB8 #343CB8 #6E34B8
triadic
#343CB8 #B8343C #3CB834
tetradic
#343CB8 #B8347E #B8B034 #34B86E
square
#343CB8 #B8347E #B8B034 #34B86E
split-complementary
#343CB8 #B86E34 #7EB834
monochromatic
#191D59 #272C88 #343CB8 #5960D0 #898EDE

Accessibility & contrast

On white

8.45
#343CB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #343CB8
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343CB8#FFFFFF#000000##FFFFFF
##343CB81.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BC
Deuteranopia (green-blind)
#0047B6
Tritanopia (blue-blind)
#005D75
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #343cb8;
/* rgb */ color: rgb(52, 60, 184);
/* oklch */ color: oklch(43.6% 0.192 272.5);
Tailwind
colors: {
  custom: {
    50: '#7e72ce',
    500: '#343cb8',
    950: '#000000',
  },
}
SCSS
$custom: #343cb8;
$custom-light: #7e72ce;
$custom-dark: #000000;
JSON
{
  "hex": "#343cb8",
  "rgb": {
    "r": 52,
    "g": 60,
    "b": 184
  },
  "hsl": {
    "h": 236.364,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.43599,
    "c": 0.19152,
    "h": 272.5
  },
  "luminance": 0.07422
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #343CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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