#343CA3#343CA3

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

Color values

HEX#343CA3
RGBrgb(52, 60, 163)
HSLhsl(236, 52%, 42%)
HSVhsv(236, 68%, 64%)
CMYKcmyk(68.1%, 63.2%, 0%, 36.1%)
CIE-LABlab(30.89, 31.07, -56.69)
CIE-LCHlch(30.89, 64.64, 298.72°)
OKLaboklab(41.67% 0.0099 -0.1635)
OKLCHoklch(41.67% 0.164 273.5)
XYZxyz(9.6407, 6.6052, 35.4101)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343CA3 #A39B34
analogous
#3473A3 #343CA3 #6434A3
triadic
#343CA3 #A3343C #3CA334
tetradic
#343CA3 #A33473 #A39B34 #34A364
square
#343CA3 #A33473 #A39B34 #34A364
split-complementary
#343CA3 #A36434 #73A334
monochromatic
#161A46 #252B75 #343CA3 #4E56C6 #7C83D5

Accessibility & contrast

On white

9.05
#343CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#343CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343CA3
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343CA3#FFFFFF#000000##FFFFFF
##343CA31.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #343ca3;
/* rgb */ color: rgb(52, 60, 163);
/* oklch */ color: oklch(41.7% 0.164 273.5);
Tailwind
colors: {
  custom: {
    50: '#7a72bf',
    500: '#343ca3',
    950: '#000000',
  },
}
SCSS
$custom: #343ca3;
$custom-light: #7a72bf;
$custom-dark: #000000;
JSON
{
  "hex": "#343ca3",
  "rgb": {
    "r": 52,
    "g": 60,
    "b": 163
  },
  "hsl": {
    "h": 235.676,
    "s": 51.628,
    "l": 42.157
  },
  "oklch": {
    "l": 0.41672,
    "c": 0.16381,
    "h": 273.5
  },
  "luminance": 0.06606
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #343CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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