#343CA5#343CA5

#343CA5 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.9% C 0.167 H 273.4°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#343CA5
RGBrgb(52, 60, 165)
HSLhsl(236, 52%, 43%)
HSVhsv(236, 68%, 65%)
CMYKcmyk(68.5%, 63.6%, 0%, 35.3%)
CIE-LABlab(31.06, 31.78, -57.62)
CIE-LCHlch(31.06, 65.80, 298.88°)
OKLaboklab(41.85% 0.0098 -0.1662)
OKLCHoklch(41.85% 0.167 273.4)
XYZxyz(9.8213, 6.6775, 36.3613)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343CA5 #A59D34
analogous
#3475A5 #343CA5 #6434A5
triadic
#343CA5 #A5343C #3CA534
tetradic
#343CA5 #A53475 #A59D34 #34A564
square
#343CA5 #A53475 #A59D34 #34A564
split-complementary
#343CA5 #A56434 #75A534
monochromatic
#171A48 #252B76 #343CA5 #4F57C7 #7D84D6

Accessibility & contrast

On white

8.99
#343CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#343CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343CA5
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343CA5#FFFFFF#000000##FFFFFF
##343CA51.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA8
Deuteranopia (green-blind)
#0044A3
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #343ca5;
/* rgb */ color: rgb(52, 60, 165);
/* oklch */ color: oklch(41.9% 0.167 273.4);
Tailwind
colors: {
  custom: {
    50: '#7a72c1',
    500: '#343ca5',
    950: '#000000',
  },
}
SCSS
$custom: #343ca5;
$custom-light: #7a72c1;
$custom-dark: #000000;
JSON
{
  "hex": "#343ca5",
  "rgb": {
    "r": 52,
    "g": 60,
    "b": 165
  },
  "hsl": {
    "h": 235.752,
    "s": 52.074,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4185,
    "c": 0.16652,
    "h": 273.4
  },
  "luminance": 0.06678
}

Semantic roles & 50–950 ramp

primary
#343CA5
secondary
#BFBA76
accent
#D14CDC
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #343CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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