#343BB7#343BB7

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

Color values

HEX#343BB7
RGBrgb(52, 59, 183)
HSLhsl(237, 56%, 46%)
HSVhsv(237, 72%, 72%)
CMYKcmyk(71.6%, 67.8%, 0%, 28.2%)
CIE-LABlab(32.43, 38.74, -66.13)
CIE-LCHlch(32.43, 76.64, 300.36°)
OKLaboklab(43.34% 0.0091 -0.1912)
OKLCHoklch(43.34% 0.191 272.7)
XYZxyz(11.5245, 7.2757, 45.5876)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343BB7 #B7B034
analogous
#347CB7 #343BB7 #6E34B7
triadic
#343BB7 #B7343B #3BB734
tetradic
#343BB7 #B7347C #B7B034 #34B76E
square
#343BB7 #B7347C #B7B034 #34B76E
split-complementary
#343BB7 #B76E34 #7CB734
monochromatic
#191C58 #262C87 #343BB7 #595FD0 #888DDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##343BB7#FFFFFF#000000##FFFFFF
##343BB71.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)
#0052BB
Deuteranopia (green-blind)
#0046B5
Tritanopia (blue-blind)
#005C74
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #343bb7;
/* rgb */ color: rgb(52, 59, 183);
/* oklch */ color: oklch(43.3% 0.191 272.7);
Tailwind
colors: {
  custom: {
    50: '#7e71ce',
    500: '#343bb7',
    950: '#000000',
  },
}
SCSS
$custom: #343bb7;
$custom-light: #7e71ce;
$custom-dark: #000000;
JSON
{
  "hex": "#343bb7",
  "rgb": {
    "r": 52,
    "g": 59,
    "b": 183
  },
  "hsl": {
    "h": 236.794,
    "s": 55.745,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43339,
    "c": 0.19138,
    "h": 272.7
  },
  "luminance": 0.07277
}

Semantic roles & 50–950 ramp

primary
#343BB7
secondary
#C7C380
accent
#D749DF
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #343BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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