#343DB2#343DB2

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

Color values

HEX#343DB2
RGBrgb(52, 61, 178)
HSLhsl(236, 55%, 45%)
HSVhsv(236, 71%, 70%)
CMYKcmyk(70.8%, 65.7%, 0%, 30.2%)
CIE-LABlab(32.44, 35.75, -63.14)
CIE-LCHlch(32.44, 72.56, 299.52°)
OKLaboklab(43.21% 0.0082 -0.1824)
OKLCHoklch(43.21% 0.183 272.6)
XYZxyz(11.1181, 7.2808, 42.9303)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343DB2 #B2A934
analogous
#347CB2 #343DB2 #6A34B2
triadic
#343DB2 #B2343D #3DB234
tetradic
#343DB2 #B2347C #B2A934 #34B26A
square
#343DB2 #B2347C #B2A934 #34B26A
split-complementary
#343DB2 #B26A34 #7CB234
monochromatic
#181D53 #262D83 #343DB2 #565ECE #858BDB

Accessibility & contrast

On white

8.55
#343DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#343DB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343DB2
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343DB2#FFFFFF#000000##FFFFFF
##343DB21.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#0046B0
Tritanopia (blue-blind)
#005C72
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #343db2;
/* rgb */ color: rgb(52, 61, 178);
/* oklch */ color: oklch(43.2% 0.183 272.6);
Tailwind
colors: {
  custom: {
    50: '#7d73ca',
    500: '#343db2',
    950: '#000000',
  },
}
SCSS
$custom: #343db2;
$custom-light: #7d73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#343db2",
  "rgb": {
    "r": 52,
    "g": 61,
    "b": 178
  },
  "hsl": {
    "h": 235.714,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43208,
    "c": 0.1826,
    "h": 272.6
  },
  "luminance": 0.07282
}

Semantic roles & 50–950 ramp

primary
#343DB2
secondary
#C5C07D
accent
#D44ADE
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #343DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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