#343FA9#343FA9

#343FA9 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.8% C 0.168 H 272.5°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#343FA9
RGBrgb(52, 63, 169)
HSLhsl(234, 53%, 43%)
HSVhsv(234, 69%, 66%)
CMYKcmyk(69.2%, 62.7%, 0%, 33.7%)
CIE-LABlab(32.14, 31.27, -58.25)
CIE-LCHlch(32.14, 66.12, 298.23°)
OKLaboklab(42.75% 0.0073 -0.1681)
OKLCHoklch(42.75% 0.168 272.5)
XYZxyz(10.3527, 7.1487, 38.3627)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343FA9 #A99E34
analogous
#3479A9 #343FA9 #6334A9
triadic
#343FA9 #A9343F #3FA934
tetradic
#343FA9 #A93479 #A99E34 #34A963
square
#343FA9 #A93479 #A99E34 #34A963
split-complementary
#343FA9 #A96334 #79A934
monochromatic
#171C4B #262E7A #343FA9 #515CC9 #8088D8

Accessibility & contrast

On white

8.64
#343FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#343FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343FA9
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343FA9#FFFFFF#000000##FFFFFF
##343FA91.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AC
Deuteranopia (green-blind)
#0046A7
Tritanopia (blue-blind)
#005A6E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #343fa9;
/* rgb */ color: rgb(52, 63, 169);
/* oklch */ color: oklch(42.8% 0.168 272.5);
Tailwind
colors: {
  custom: {
    50: '#7b74c3',
    500: '#343fa9',
    950: '#000000',
  },
}
SCSS
$custom: #343fa9;
$custom-light: #7b74c3;
$custom-dark: #000000;
JSON
{
  "hex": "#343fa9",
  "rgb": {
    "r": 52,
    "g": 63,
    "b": 169
  },
  "hsl": {
    "h": 234.359,
    "s": 52.941,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42751,
    "c": 0.16823,
    "h": 272.5
  },
  "luminance": 0.0715
}

Semantic roles & 50–950 ramp

primary
#343FA9
secondary
#C1BA78
accent
#CF4BDC
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #343FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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