#343AA5#343AA5

#343AA5 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.5% C 0.169 H 273.9°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#343AA5
RGBrgb(52, 58, 165)
HSLhsl(237, 52%, 43%)
HSVhsv(237, 68%, 65%)
CMYKcmyk(68.5%, 64.8%, 0%, 35.3%)
CIE-LABlab(30.57, 33.06, -58.42)
CIE-LCHlch(30.57, 67.12, 299.51°)
OKLaboklab(41.49% 0.0114 -0.1686)
OKLCHoklch(41.49% 0.169 273.9)
XYZxyz(9.7185, 6.4719, 36.3271)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343AA5 #A59F34
analogous
#3473A5 #343AA5 #6634A5
triadic
#343AA5 #A5343A #3AA534
tetradic
#343AA5 #A53473 #A59F34 #34A566
square
#343AA5 #A53473 #A59F34 #34A566
split-complementary
#343AA5 #A56634 #73A534
monochromatic
#171948 #252A76 #343AA5 #4F55C7 #7D82D6

Accessibility & contrast

On white

9.15
#343AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#343AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343AA5
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343AA5#FFFFFF#000000##FFFFFF
##343AA51.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA8
Deuteranopia (green-blind)
#0043A3
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #343aa5;
/* rgb */ color: rgb(52, 58, 165);
/* oklch */ color: oklch(41.5% 0.169 273.9);
Tailwind
colors: {
  custom: {
    50: '#7a70c1',
    500: '#343aa5',
    950: '#000000',
  },
}
SCSS
$custom: #343aa5;
$custom-light: #7a70c1;
$custom-dark: #000000;
JSON
{
  "hex": "#343aa5",
  "rgb": {
    "r": 52,
    "g": 58,
    "b": 165
  },
  "hsl": {
    "h": 236.814,
    "s": 52.074,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41492,
    "c": 0.16896,
    "h": 273.9
  },
  "luminance": 0.06473
}

Semantic roles & 50–950 ramp

primary
#343AA5
secondary
#BFBB76
accent
#D44CDC
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #343AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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