#343CA4#343CA4

#343CA4 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.8% C 0.165 H 273.4°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#343CA4
RGBrgb(52, 60, 164)
HSLhsl(236, 52%, 42%)
HSVhsv(236, 68%, 64%)
CMYKcmyk(68.3%, 63.4%, 0%, 35.7%)
CIE-LABlab(30.98, 31.42, -57.15)
CIE-LCHlch(30.98, 65.22, 298.80°)
OKLaboklab(41.76% 0.0099 -0.1649)
OKLCHoklch(41.76% 0.165 273.4)
XYZxyz(9.7306, 6.6412, 35.8838)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343CA4 #A49C34
analogous
#3474A4 #343CA4 #6434A4
triadic
#343CA4 #A4343C #3CA434
tetradic
#343CA4 #A43474 #A49C34 #34A464
square
#343CA4 #A43474 #A49C34 #34A464
split-complementary
#343CA4 #A46434 #74A434
monochromatic
#171A47 #252B76 #343CA4 #4E57C7 #7D83D6

Accessibility & contrast

On white

9.02
#343CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#343CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343CA4
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343CA4#FFFFFF#000000##FFFFFF
##343CA41.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA7
Deuteranopia (green-blind)
#0044A2
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #343ca4;
/* rgb */ color: rgb(52, 60, 164);
/* oklch */ color: oklch(41.8% 0.165 273.4);
Tailwind
colors: {
  custom: {
    50: '#7a72c0',
    500: '#343ca4',
    950: '#000000',
  },
}
SCSS
$custom: #343ca4;
$custom-light: #7a72c0;
$custom-dark: #000000;
JSON
{
  "hex": "#343ca4",
  "rgb": {
    "r": 52,
    "g": 60,
    "b": 164
  },
  "hsl": {
    "h": 235.714,
    "s": 51.852,
    "l": 42.353
  },
  "oklch": {
    "l": 0.41761,
    "c": 0.16517,
    "h": 273.4
  },
  "luminance": 0.06642
}

Semantic roles & 50–950 ramp

primary
#343CA4
secondary
#BFB975
accent
#D14CDB
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #343CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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