#343C8F#343C8F

#343C8F is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.0% C 0.136 H 274.3°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#343C8F
RGBrgb(52, 60, 143)
HSLhsl(235, 47%, 38%)
HSVhsv(235, 64%, 56%)
CMYKcmyk(63.6%, 58%, 0%, 43.9%)
CIE-LABlab(29.27, 23.88, -47.14)
CIE-LCHlch(29.27, 52.84, 296.87°)
OKLaboklab(39.97% 0.0103 -0.1354)
OKLCHoklch(39.97% 0.136 274.3)
XYZxyz(7.9883, 5.9443, 26.7077)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343C8F #8F8734
analogous
#34698F #343C8F #59348F
triadic
#343C8F #8F343C #3C8F34
tetradic
#343C8F #8F3469 #8F8734 #348F59
square
#343C8F #8F3469 #8F8734 #348F59
split-complementary
#343C8F #8F5934 #698F34
monochromatic
#131635 #242962 #343C8F #454FBB #727ACC

Accessibility & contrast

On white

9.59
#343C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#343C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343C8F
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343C8F#FFFFFF#000000##FFFFFF
##343C8F1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #343c8f;
/* rgb */ color: rgb(52, 60, 143);
/* oklch */ color: oklch(40.0% 0.136 274.3);
Tailwind
colors: {
  custom: {
    50: '#7671b0',
    500: '#343c8f',
    950: '#000000',
  },
}
SCSS
$custom: #343c8f;
$custom-light: #7671b0;
$custom-dark: #000000;
JSON
{
  "hex": "#343c8f",
  "rgb": {
    "r": 52,
    "g": 60,
    "b": 143
  },
  "hsl": {
    "h": 234.725,
    "s": 46.667,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39966,
    "c": 0.13584,
    "h": 274.3
  },
  "luminance": 0.05945
}

Semantic roles & 50–950 ramp

primary
#343C8F
secondary
#B4AD6B
accent
#CB51D6
background
#F7F6FA
surface
#EEECF5
border
#C9C7CF
text
#090711
muted
#7B7A80

Preview Lab

Preview with #343C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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