#343AB9#343AB9

#343AB9 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.4% C 0.195 H 272.8°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#343AB9
RGBrgb(52, 58, 185)
HSLhsl(237, 56%, 46%)
HSVhsv(237, 72%, 73%)
CMYKcmyk(71.9%, 68.6%, 0%, 27.5%)
CIE-LABlab(32.39, 40.04, -67.38)
CIE-LCHlch(32.39, 78.38, 300.72°)
OKLaboklab(43.37% 0.0095 -0.1948)
OKLCHoklch(43.37% 0.195 272.8)
XYZxyz(11.6832, 7.2578, 46.6747)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343AB9 #B9B334
analogous
#347DB9 #343AB9 #7134B9
triadic
#343AB9 #B9343A #3AB934
tetradic
#343AB9 #B9347D #B9B334 #34B971
square
#343AB9 #B9347D #B9B334 #34B971
split-complementary
#343AB9 #B97134 #7DB934
monochromatic
#191C59 #272B89 #343AB9 #5A5FD1 #898DDE

Accessibility & contrast

On white

8.57
#343AB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#343AB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343AB9
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343AB9#FFFFFF#000000##FFFFFF
##343AB91.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BD
Deuteranopia (green-blind)
#0046B7
Tritanopia (blue-blind)
#005D75
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #343ab9;
/* rgb */ color: rgb(52, 58, 185);
/* oklch */ color: oklch(43.4% 0.195 272.8);
Tailwind
colors: {
  custom: {
    50: '#7f71cf',
    500: '#343ab9',
    950: '#000000',
  },
}
SCSS
$custom: #343ab9;
$custom-light: #7f71cf;
$custom-dark: #000000;
JSON
{
  "hex": "#343ab9",
  "rgb": {
    "r": 52,
    "g": 58,
    "b": 185
  },
  "hsl": {
    "h": 237.293,
    "s": 56.118,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43366,
    "c": 0.19504,
    "h": 272.8
  },
  "luminance": 0.07259
}

Semantic roles & 50–950 ramp

primary
#343AB9
secondary
#C8C581
accent
#D948DF
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #343AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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