#343E9D#343E9D

#343E9D is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.5% C 0.153 H 273.2°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#343E9D
RGBrgb(52, 62, 157)
HSLhsl(234, 50%, 41%)
HSVhsv(234, 67%, 62%)
CMYKcmyk(66.9%, 60.5%, 0%, 38.4%)
CIE-LABlab(30.90, 27.61, -53.05)
CIE-LCHlch(30.90, 59.80, 297.49°)
OKLaboklab(41.52% 0.0084 -0.1528)
OKLCHoklch(41.52% 0.153 273.2)
XYZxyz(9.2226, 6.6088, 32.6814)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343E9D #9D9334
analogous
#34729D #343E9D #5E349D
triadic
#343E9D #9D343E #3E9D34
tetradic
#343E9D #9D3472 #9D9334 #349D5E
square
#343E9D #9D3472 #9D9334 #349D5E
split-complementary
#343E9D #9D5E34 #729D34
monochromatic
#161A41 #252C6F #343E9D #4B56C3 #7981D3

Accessibility & contrast

On white

9.04
#343E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #343E9D
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343E9D#FFFFFF#000000##FFFFFF
##343E9D1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA0
Deuteranopia (green-blind)
#00449B
Tritanopia (blue-blind)
#005567
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #343e9d;
/* rgb */ color: rgb(52, 62, 157);
/* oklch */ color: oklch(41.5% 0.153 273.2);
Tailwind
colors: {
  custom: {
    50: '#7873bb',
    500: '#343e9d',
    950: '#000000',
  },
}
SCSS
$custom: #343e9d;
$custom-light: #7873bb;
$custom-dark: #000000;
JSON
{
  "hex": "#343e9d",
  "rgb": {
    "r": 52,
    "g": 62,
    "b": 157
  },
  "hsl": {
    "h": 234.286,
    "s": 50.239,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41523,
    "c": 0.15303,
    "h": 273.2
  },
  "luminance": 0.0661
}

Semantic roles & 50–950 ramp

primary
#343E9D
secondary
#BBB472
accent
#CC4EDA
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #343E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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