#343AA3#343AA3

#343AA3 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.3% C 0.166 H 274.0°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#343AA3
RGBrgb(52, 58, 163)
HSLhsl(237, 52%, 42%)
HSVhsv(237, 68%, 64%)
CMYKcmyk(68.1%, 64.4%, 0%, 36.1%)
CIE-LABlab(30.40, 32.35, -57.49)
CIE-LCHlch(30.40, 65.97, 299.37°)
OKLaboklab(41.31% 0.0115 -0.1659)
OKLCHoklch(41.31% 0.166 274)
XYZxyz(9.5379, 6.3997, 35.3758)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343AA3 #A39D34
analogous
#3471A3 #343AA3 #6634A3
triadic
#343AA3 #A3343A #3AA334
tetradic
#343AA3 #A33471 #A39D34 #34A366
square
#343AA3 #A33471 #A39D34 #34A366
split-complementary
#343AA3 #A36634 #71A334
monochromatic
#161946 #252975 #343AA3 #4E54C6 #7C81D5

Accessibility & contrast

On white

9.21
#343AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#343AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343AA3
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343AA3#FFFFFF#000000##FFFFFF
##343AA31.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA6
Deuteranopia (green-blind)
#0043A1
Tritanopia (blue-blind)
#005569
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #343aa3;
/* rgb */ color: rgb(52, 58, 163);
/* oklch */ color: oklch(41.3% 0.166 274.0);
Tailwind
colors: {
  custom: {
    50: '#7a70bf',
    500: '#343aa3',
    950: '#000000',
  },
}
SCSS
$custom: #343aa3;
$custom-light: #7a70bf;
$custom-dark: #000000;
JSON
{
  "hex": "#343aa3",
  "rgb": {
    "r": 52,
    "g": 58,
    "b": 163
  },
  "hsl": {
    "h": 236.757,
    "s": 51.628,
    "l": 42.157
  },
  "oklch": {
    "l": 0.41311,
    "c": 0.16628,
    "h": 274
  },
  "luminance": 0.06401
}

Semantic roles & 50–950 ramp

primary
#343AA3
secondary
#BEBA75
accent
#D34DDB
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #343AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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