#343E9F#343E9F

#343E9F is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.7% C 0.156 H 273.1°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#343E9F
RGBrgb(52, 62, 159)
HSLhsl(234, 51%, 41%)
HSVhsv(234, 67%, 62%)
CMYKcmyk(67.3%, 61%, 0%, 37.6%)
CIE-LABlab(31.06, 28.33, -54.00)
CIE-LCHlch(31.06, 60.98, 297.68°)
OKLaboklab(41.69% 0.0084 -0.1556)
OKLCHoklch(41.69% 0.156 273.1)
XYZxyz(9.3947, 6.6777, 33.5880)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343E9F #9F9534
analogous
#34749F #343E9F #60349F
triadic
#343E9F #9F343E #3E9F34
tetradic
#343E9F #9F3474 #9F9534 #349F60
square
#343E9F #9F3474 #9F9534 #349F60
split-complementary
#343E9F #9F6034 #749F34
monochromatic
#161A43 #252C71 #343E9F #4C57C4 #7A82D3

Accessibility & contrast

On white

8.99
#343E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#343E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343E9F
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343E9F#FFFFFF#000000##FFFFFF
##343E9F1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#00449D
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #343e9f;
/* rgb */ color: rgb(52, 62, 159);
/* oklch */ color: oklch(41.7% 0.156 273.1);
Tailwind
colors: {
  custom: {
    50: '#7973bc',
    500: '#343e9f',
    950: '#000000',
  },
}
SCSS
$custom: #343e9f;
$custom-light: #7973bc;
$custom-dark: #000000;
JSON
{
  "hex": "#343e9f",
  "rgb": {
    "r": 52,
    "g": 62,
    "b": 159
  },
  "hsl": {
    "h": 234.393,
    "s": 50.711,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41694,
    "c": 0.15581,
    "h": 273.1
  },
  "luminance": 0.06679
}

Semantic roles & 50–950 ramp

primary
#343E9F
secondary
#BCB573
accent
#CD4EDA
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #343E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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