#343CA1#343CA1

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

Color values

HEX#343CA1
RGBrgb(52, 60, 161)
HSLhsl(236, 51%, 42%)
HSVhsv(236, 68%, 63%)
CMYKcmyk(67.7%, 62.7%, 0%, 36.9%)
CIE-LABlab(30.72, 30.35, -55.76)
CIE-LCHlch(30.72, 63.48, 298.56°)
OKLaboklab(41.5% 0.01 -0.1608)
OKLCHoklch(41.5% 0.161 273.6)
XYZxyz(9.4629, 6.5341, 34.4738)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343CA1 #A19934
analogous
#3473A1 #343CA1 #6334A1
triadic
#343CA1 #A1343C #3CA134
tetradic
#343CA1 #A13473 #A19934 #34A163
square
#343CA1 #A13473 #A19934 #34A163
split-complementary
#343CA1 #A16334 #73A134
monochromatic
#161A44 #252B73 #343CA1 #4D56C5 #7B82D4

Accessibility & contrast

On white

9.10
#343CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#343CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343CA1
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343CA1#FFFFFF#000000##FFFFFF
##343CA11.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA4
Deuteranopia (green-blind)
#00439F
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #343ca1;
/* rgb */ color: rgb(52, 60, 161);
/* oklch */ color: oklch(41.5% 0.161 273.6);
Tailwind
colors: {
  custom: {
    50: '#7971be',
    500: '#343ca1',
    950: '#000000',
  },
}
SCSS
$custom: #343ca1;
$custom-light: #7971be;
$custom-dark: #000000;
JSON
{
  "hex": "#343ca1",
  "rgb": {
    "r": 52,
    "g": 60,
    "b": 161
  },
  "hsl": {
    "h": 235.596,
    "s": 51.174,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41495,
    "c": 0.16109,
    "h": 273.6
  },
  "luminance": 0.06535
}

Semantic roles & 50–950 ramp

primary
#343CA1
secondary
#BDB874
accent
#D04DDB
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #343CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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