#343BAA#343BAA

#343BAA is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.1% C 0.174 H 273.4°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#343BAA
RGBrgb(52, 59, 170)
HSLhsl(236, 53%, 44%)
HSVhsv(236, 69%, 67%)
CMYKcmyk(69.4%, 65.3%, 0%, 33.3%)
CIE-LABlab(31.25, 34.19, -60.31)
CIE-LCHlch(31.25, 69.33, 299.55°)
OKLaboklab(42.12% 0.0103 -0.1741)
OKLCHoklch(42.12% 0.174 273.4)
XYZxyz(10.2334, 6.7593, 38.7878)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343BAA #AAA334
analogous
#3476AA #343BAA #6834AA
triadic
#343BAA #AA343B #3BAA34
tetradic
#343BAA #AA3476 #AAA334 #34AA68
square
#343BAA #AA3476 #AAA334 #34AA68
split-complementary
#343BAA #AA6834 #76AA34
monochromatic
#171A4C #262B7B #343BAA #5158CA #8085D8

Accessibility & contrast

On white

8.93
#343BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#343BAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343BAA
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343BAA#FFFFFF#000000##FFFFFF
##343BAA1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#0044A8
Tritanopia (blue-blind)
#00586D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #343baa;
/* rgb */ color: rgb(52, 59, 170);
/* oklch */ color: oklch(42.1% 0.174 273.4);
Tailwind
colors: {
  custom: {
    50: '#7b71c4',
    500: '#343baa',
    950: '#000000',
  },
}
SCSS
$custom: #343baa;
$custom-light: #7b71c4;
$custom-dark: #000000;
JSON
{
  "hex": "#343baa",
  "rgb": {
    "r": 52,
    "g": 59,
    "b": 170
  },
  "hsl": {
    "h": 236.441,
    "s": 53.153,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42124,
    "c": 0.17442,
    "h": 273.4
  },
  "luminance": 0.0676
}

Semantic roles & 50–950 ramp

primary
#343BAA
secondary
#C1BD78
accent
#D44BDD
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #343BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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