#343AA6#343AA6

#343AA6 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.6% C 0.170 H 273.8°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#343AA6
RGBrgb(52, 58, 166)
HSLhsl(237, 52%, 43%)
HSVhsv(237, 69%, 65%)
CMYKcmyk(68.7%, 65.1%, 0%, 34.9%)
CIE-LABlab(30.66, 33.41, -58.87)
CIE-LCHlch(30.66, 67.70, 299.58°)
OKLaboklab(41.58% 0.0113 -0.1699)
OKLCHoklch(41.58% 0.17 273.8)
XYZxyz(9.8099, 6.5084, 36.8083)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343AA6 #A6A034
analogous
#3473A6 #343AA6 #6734A6
triadic
#343AA6 #A6343A #3AA634
tetradic
#343AA6 #A63473 #A6A034 #34A667
square
#343AA6 #A63473 #A6A034 #34A667
split-complementary
#343AA6 #A66734 #73A634
monochromatic
#171949 #252A77 #343AA6 #4F56C8 #7E83D7

Accessibility & contrast

On white

9.12
#343AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#343AA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343AA6
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343AA6#FFFFFF#000000##FFFFFF
##343AA61.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #343aa6;
/* rgb */ color: rgb(52, 58, 166);
/* oklch */ color: oklch(41.6% 0.170 273.8);
Tailwind
colors: {
  custom: {
    50: '#7b70c1',
    500: '#343aa6',
    950: '#000000',
  },
}
SCSS
$custom: #343aa6;
$custom-light: #7b70c1;
$custom-dark: #000000;
JSON
{
  "hex": "#343aa6",
  "rgb": {
    "r": 52,
    "g": 58,
    "b": 166
  },
  "hsl": {
    "h": 236.842,
    "s": 52.294,
    "l": 42.745
  },
  "oklch": {
    "l": 0.41583,
    "c": 0.17031,
    "h": 273.8
  },
  "luminance": 0.06509
}

Semantic roles & 50–950 ramp

primary
#343AA6
secondary
#C0BC76
accent
#D44CDC
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #343AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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