#343CA2#343CA2

#343CA2 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.6% C 0.162 H 273.5°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#343CA2
RGBrgb(52, 60, 162)
HSLhsl(236, 51%, 42%)
HSVhsv(236, 68%, 64%)
CMYKcmyk(67.9%, 63%, 0%, 36.5%)
CIE-LABlab(30.81, 30.71, -56.23)
CIE-LCHlch(30.81, 64.07, 298.64°)
OKLaboklab(41.58% 0.01 -0.1621)
OKLCHoklch(41.58% 0.162 273.5)
XYZxyz(9.5514, 6.5695, 34.9401)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343CA2 #A29A34
analogous
#3473A2 #343CA2 #6334A2
triadic
#343CA2 #A2343C #3CA234
tetradic
#343CA2 #A23473 #A29A34 #34A263
square
#343CA2 #A23473 #A29A34 #34A263
split-complementary
#343CA2 #A26334 #73A234
monochromatic
#161A45 #252B74 #343CA2 #4D56C6 #7C82D5

Accessibility & contrast

On white

9.08
#343CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #343CA2
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343CA2#FFFFFF#000000##FFFFFF
##343CA21.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#0044A0
Tritanopia (blue-blind)
#005669
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #343ca2;
/* rgb */ color: rgb(52, 60, 162);
/* oklch */ color: oklch(41.6% 0.162 273.5);
Tailwind
colors: {
  custom: {
    50: '#7a72be',
    500: '#343ca2',
    950: '#000000',
  },
}
SCSS
$custom: #343ca2;
$custom-light: #7a72be;
$custom-dark: #000000;
JSON
{
  "hex": "#343ca2",
  "rgb": {
    "r": 52,
    "g": 60,
    "b": 162
  },
  "hsl": {
    "h": 235.636,
    "s": 51.402,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41583,
    "c": 0.16245,
    "h": 273.5
  },
  "luminance": 0.0657
}

Semantic roles & 50–950 ramp

primary
#343CA2
secondary
#BEB874
accent
#D14DDB
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #343CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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