#343BA3#343BA3

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

Color values

HEX#343BA3
RGBrgb(52, 59, 163)
HSLhsl(236, 52%, 42%)
HSVhsv(236, 68%, 64%)
CMYKcmyk(68.1%, 63.8%, 0%, 36.1%)
CIE-LABlab(30.64, 31.71, -57.09)
CIE-LCHlch(30.64, 65.31, 299.05°)
OKLaboklab(41.49% 0.0107 -0.1647)
OKLCHoklch(41.49% 0.165 273.7)
XYZxyz(9.5888, 6.5015, 35.3928)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343BA3 #A39C34
analogous
#3473A3 #343BA3 #6434A3
triadic
#343BA3 #A3343B #3BA334
tetradic
#343BA3 #A33473 #A39C34 #34A364
square
#343BA3 #A33473 #A39C34 #34A364
split-complementary
#343BA3 #A36434 #73A334
monochromatic
#161946 #252A75 #343BA3 #4E55C6 #7C82D5

Accessibility & contrast

On white

9.13
#343BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#343BA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343BA3
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343BA3#FFFFFF#000000##FFFFFF
##343BA31.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA6
Deuteranopia (green-blind)
#0043A1
Tritanopia (blue-blind)
#005669
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #343ba3;
/* rgb */ color: rgb(52, 59, 163);
/* oklch */ color: oklch(41.5% 0.165 273.7);
Tailwind
colors: {
  custom: {
    50: '#7a71bf',
    500: '#343ba3',
    950: '#000000',
  },
}
SCSS
$custom: #343ba3;
$custom-light: #7a71bf;
$custom-dark: #000000;
JSON
{
  "hex": "#343ba3",
  "rgb": {
    "r": 52,
    "g": 59,
    "b": 163
  },
  "hsl": {
    "h": 236.216,
    "s": 51.628,
    "l": 42.157
  },
  "oklch": {
    "l": 0.41491,
    "c": 0.16505,
    "h": 273.7
  },
  "luminance": 0.06502
}

Semantic roles & 50–950 ramp

primary
#343BA3
secondary
#BEB975
accent
#D24DDB
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #343BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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