#343BC4#343BC4

#343BC4 is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 44.6% C 0.208 H 272.1°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#343BC4
RGBrgb(52, 59, 196)
HSLhsl(237, 58%, 49%)
HSVhsv(237, 73%, 77%)
CMYKcmyk(73.5%, 69.9%, 0%, 23.1%)
CIE-LABlab(33.65, 43.20, -71.76)
CIE-LCHlch(33.65, 83.77, 301.05°)
OKLaboklab(44.6% 0.0076 -0.2076)
OKLCHoklch(44.6% 0.208 272.1)
XYZxyz(12.9406, 7.8422, 53.0455)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343BC4 #C4BD34
analogous
#3483C4 #343BC4 #7534C4
triadic
#343BC4 #C4343B #3BC434
tetradic
#343BC4 #C43483 #C4BD34 #34C475
square
#343BC4 #C43483 #C4BD34 #34C475
split-complementary
#343BC4 #C47534 #83C434
monochromatic
#1A1E63 #272C94 #343BC4 #6066D5 #9195E2

Accessibility & contrast

On white

8.18
#343BC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#343BC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343BC4
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343BC4#FFFFFF#000000##FFFFFF
##343BC41.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C8
Deuteranopia (green-blind)
#0048C1
Tritanopia (blue-blind)
#00617B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #343bc4;
/* rgb */ color: rgb(52, 59, 196);
/* oklch */ color: oklch(44.6% 0.208 272.1);
Tailwind
colors: {
  custom: {
    50: '#8172d7',
    500: '#343bc4',
    950: '#000000',
  },
}
SCSS
$custom: #343bc4;
$custom-light: #8172d7;
$custom-dark: #000000;
JSON
{
  "hex": "#343bc4",
  "rgb": {
    "r": 52,
    "g": 59,
    "b": 196
  },
  "hsl": {
    "h": 237.083,
    "s": 58.065,
    "l": 48.627
  },
  "oklch": {
    "l": 0.44595,
    "c": 0.20776,
    "h": 272.1
  },
  "luminance": 0.07844
}

Semantic roles & 50–950 ramp

primary
#343BC4
secondary
#CCC987
accent
#DA47E1
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #343BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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