#343CA9#343CA9

#343CA9 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.2% C 0.172 H 273.2°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#343CA9
RGBrgb(52, 60, 169)
HSLhsl(236, 53%, 43%)
HSVhsv(236, 69%, 66%)
CMYKcmyk(69.2%, 64.5%, 0%, 33.7%)
CIE-LABlab(31.41, 33.20, -59.46)
CIE-LCHlch(31.41, 68.10, 299.18°)
OKLaboklab(42.21% 0.0096 -0.1716)
OKLCHoklch(42.21% 0.172 273.2)
XYZxyz(10.1911, 6.8254, 38.3088)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343CA9 #A9A134
analogous
#3476A9 #343CA9 #6634A9
triadic
#343CA9 #A9343C #3CA934
tetradic
#343CA9 #A93476 #A9A134 #34A966
square
#343CA9 #A93476 #A9A134 #34A966
split-complementary
#343CA9 #A96634 #76A934
monochromatic
#171B4B #262B7A #343CA9 #5159C9 #8086D8

Accessibility & contrast

On white

8.88
#343CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#343CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343CA9
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343CA9#FFFFFF#000000##FFFFFF
##343CA91.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAC
Deuteranopia (green-blind)
#0045A7
Tritanopia (blue-blind)
#00586D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #343ca9;
/* rgb */ color: rgb(52, 60, 169);
/* oklch */ color: oklch(42.2% 0.172 273.2);
Tailwind
colors: {
  custom: {
    50: '#7b72c4',
    500: '#343ca9',
    950: '#000000',
  },
}
SCSS
$custom: #343ca9;
$custom-light: #7b72c4;
$custom-dark: #000000;
JSON
{
  "hex": "#343ca9",
  "rgb": {
    "r": 52,
    "g": 60,
    "b": 169
  },
  "hsl": {
    "h": 235.897,
    "s": 52.941,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4221,
    "c": 0.17189,
    "h": 273.2
  },
  "luminance": 0.06826
}

Semantic roles & 50–950 ramp

primary
#343CA9
secondary
#C1BC78
accent
#D24BDC
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #343CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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