#343FAA#343FAA

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

Color values

HEX#343FAA
RGBrgb(52, 63, 170)
HSLhsl(234, 53%, 44%)
HSVhsv(234, 69%, 67%)
CMYKcmyk(69.4%, 62.9%, 0%, 33.3%)
CIE-LABlab(32.23, 31.63, -58.71)
CIE-LCHlch(32.23, 66.69, 298.31°)
OKLaboklab(42.84% 0.0073 -0.1694)
OKLCHoklch(42.84% 0.17 272.5)
XYZxyz(10.4469, 7.1864, 38.8590)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343FAA #AA9F34
analogous
#347AAA #343FAA #6434AA
triadic
#343FAA #AA343F #3FAA34
tetradic
#343FAA #AA347A #AA9F34 #34AA64
square
#343FAA #AA347A #AA9F34 #34AA64
split-complementary
#343FAA #AA6434 #7AAA34
monochromatic
#171C4C #262E7B #343FAA #515DCA #8088D8

Accessibility & contrast

On white

8.62
#343FAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#343FAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343FAA
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343FAA#FFFFFF#000000##FFFFFF
##343FAA1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #343faa;
/* rgb */ color: rgb(52, 63, 170);
/* oklch */ color: oklch(42.8% 0.170 272.5);
Tailwind
colors: {
  custom: {
    50: '#7b74c4',
    500: '#343faa',
    950: '#000000',
  },
}
SCSS
$custom: #343faa;
$custom-light: #7b74c4;
$custom-dark: #000000;
JSON
{
  "hex": "#343faa",
  "rgb": {
    "r": 52,
    "g": 63,
    "b": 170
  },
  "hsl": {
    "h": 234.407,
    "s": 53.153,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42839,
    "c": 0.16958,
    "h": 272.5
  },
  "luminance": 0.07187
}

Semantic roles & 50–950 ramp

primary
#343FAA
secondary
#C1BB78
accent
#CF4BDD
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #343FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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