#343FB9#343FB9

#343FB9 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.2% C 0.189 H 271.9°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#343FB9
RGBrgb(52, 63, 185)
HSLhsl(235, 56%, 46%)
HSVhsv(235, 72%, 73%)
CMYKcmyk(71.9%, 65.9%, 0%, 27.5%)
CIE-LABlab(33.53, 36.96, -65.49)
CIE-LCHlch(33.53, 75.20, 299.44°)
OKLaboklab(44.2% 0.0063 -0.1893)
OKLCHoklch(44.2% 0.189 271.9)
XYZxyz(11.9477, 7.7867, 46.7629)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343FB9 #B9AE34
analogous
#3482B9 #343FB9 #6C34B9
triadic
#343FB9 #B9343F #3FB934
tetradic
#343FB9 #B93482 #B9AE34 #34B96C
square
#343FB9 #B93482 #B9AE34 #34B96C
split-complementary
#343FB9 #B96C34 #82B934
monochromatic
#191E59 #272F89 #343FB9 #5A64D1 #8990DE

Accessibility & contrast

On white

8.21
#343FB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#343FB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343FB9
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343FB9#FFFFFF#000000##FFFFFF
##343FB91.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BD
Deuteranopia (green-blind)
#0049B7
Tritanopia (blue-blind)
#005F76
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #343fb9;
/* rgb */ color: rgb(52, 63, 185);
/* oklch */ color: oklch(44.2% 0.189 271.9);
Tailwind
colors: {
  custom: {
    50: '#7e74cf',
    500: '#343fb9',
    950: '#000000',
  },
}
SCSS
$custom: #343fb9;
$custom-light: #7e74cf;
$custom-dark: #000000;
JSON
{
  "hex": "#343fb9",
  "rgb": {
    "r": 52,
    "g": 63,
    "b": 185
  },
  "hsl": {
    "h": 235.038,
    "s": 56.118,
    "l": 46.471
  },
  "oklch": {
    "l": 0.442,
    "c": 0.18939,
    "h": 271.9
  },
  "luminance": 0.07788
}

Semantic roles & 50–950 ramp

primary
#343FB9
secondary
#C8C281
accent
#D348DF
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #343FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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