#343BB2#343BB2

#343BB2 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.9% C 0.185 H 273.0°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#343BB2
RGBrgb(52, 59, 178)
HSLhsl(237, 55%, 45%)
HSVhsv(237, 71%, 70%)
CMYKcmyk(70.8%, 66.9%, 0%, 30.2%)
CIE-LABlab(31.97, 37.00, -63.91)
CIE-LCHlch(31.97, 73.85, 300.07°)
OKLaboklab(42.87% 0.0096 -0.1847)
OKLCHoklch(42.87% 0.185 273)
XYZxyz(11.0133, 7.0713, 42.8953)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343BB2 #B2AB34
analogous
#347AB2 #343BB2 #6C34B2
triadic
#343BB2 #B2343B #3BB234
tetradic
#343BB2 #B2347A #B2AB34 #34B26C
square
#343BB2 #B2347A #B2AB34 #34B26C
split-complementary
#343BB2 #B26C34 #7AB234
monochromatic
#181C53 #262B83 #343BB2 #565CCE #858ADB

Accessibility & contrast

On white

8.70
#343BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#343BB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343BB2
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343BB2#FFFFFF#000000##FFFFFF
##343BB21.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#0045B0
Tritanopia (blue-blind)
#005B71
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #343bb2;
/* rgb */ color: rgb(52, 59, 178);
/* oklch */ color: oklch(42.9% 0.185 273.0);
Tailwind
colors: {
  custom: {
    50: '#7d71ca',
    500: '#343bb2',
    950: '#000000',
  },
}
SCSS
$custom: #343bb2;
$custom-light: #7d71ca;
$custom-dark: #000000;
JSON
{
  "hex": "#343bb2",
  "rgb": {
    "r": 52,
    "g": 59,
    "b": 178
  },
  "hsl": {
    "h": 236.667,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42866,
    "c": 0.18493,
    "h": 273
  },
  "luminance": 0.07072
}

Semantic roles & 50–950 ramp

primary
#343BB2
secondary
#C5C17D
accent
#D64ADE
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #343BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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