#343D99#343D99

#343D99 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.0% C 0.149 H 273.6°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#343D99
RGBrgb(52, 61, 153)
HSLhsl(235, 49%, 40%)
HSVhsv(235, 66%, 60%)
CMYKcmyk(66%, 60.1%, 0%, 40%)
CIE-LABlab(30.32, 26.82, -51.56)
CIE-LCHlch(30.32, 58.12, 297.49°)
OKLaboklab(40.99% 0.0094 -0.1484)
OKLCHoklch(40.99% 0.149 273.6)
XYZxyz(8.8328, 6.3667, 30.8942)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343D99 #999034
analogous
#347099 #343D99 #5D3499
triadic
#343D99 #99343D #3D9934
tetradic
#343D99 #993470 #999034 #34995D
square
#343D99 #993470 #999034 #34995D
split-complementary
#343D99 #995D34 #709934
monochromatic
#15193E #242B6B #343D99 #4954C1 #777FD1

Accessibility & contrast

On white

9.24
#343D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#343D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343D99
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343D99#FFFFFF#000000##FFFFFF
##343D991.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9C
Deuteranopia (green-blind)
#004397
Tritanopia (blue-blind)
#005465
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #343d99;
/* rgb */ color: rgb(52, 61, 153);
/* oklch */ color: oklch(41.0% 0.149 273.6);
Tailwind
colors: {
  custom: {
    50: '#7872b8',
    500: '#343d99',
    950: '#000000',
  },
}
SCSS
$custom: #343d99;
$custom-light: #7872b8;
$custom-dark: #000000;
JSON
{
  "hex": "#343d99",
  "rgb": {
    "r": 52,
    "g": 61,
    "b": 153
  },
  "hsl": {
    "h": 234.653,
    "s": 49.268,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40993,
    "c": 0.14874,
    "h": 273.6
  },
  "luminance": 0.06367
}

Semantic roles & 50–950 ramp

primary
#343D99
secondary
#B9B370
accent
#CD4FD9
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #343D99

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

Preview Lab → · Contrast checker → · Palette generator →

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