#343E91#343E91

#343E91 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.136 H 273.5°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#343E91
RGBrgb(52, 62, 145)
HSLhsl(234, 47%, 39%)
HSVhsv(234, 64%, 57%)
CMYKcmyk(64.1%, 57.2%, 0%, 43.1%)
CIE-LABlab(29.96, 23.27, -47.26)
CIE-LCHlch(29.96, 52.67, 296.21°)
OKLaboklab(40.53% 0.0083 -0.1358)
OKLCHoklch(40.53% 0.136 273.5)
XYZxyz(8.2479, 6.2190, 27.5483)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343E91 #918734
analogous
#346C91 #343E91 #583491
triadic
#343E91 #91343E #3E9134
tetradic
#343E91 #91346C #918734 #349158
square
#343E91 #91346C #918734 #349158
split-complementary
#343E91 #915834 #6C9134
monochromatic
#141737 #242B64 #343E91 #4652BD #737CCD

Accessibility & contrast

On white

9.36
#343E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#343E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343E91
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343E91#FFFFFF#000000##FFFFFF
##343E911.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B94
Deuteranopia (green-blind)
#00438F
Tritanopia (blue-blind)
#005261
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #343e91;
/* rgb */ color: rgb(52, 62, 145);
/* oklch */ color: oklch(40.5% 0.136 273.5);
Tailwind
colors: {
  custom: {
    50: '#7673b2',
    500: '#343e91',
    950: '#000000',
  },
}
SCSS
$custom: #343e91;
$custom-light: #7673b2;
$custom-dark: #000000;
JSON
{
  "hex": "#343e91",
  "rgb": {
    "r": 52,
    "g": 62,
    "b": 145
  },
  "hsl": {
    "h": 233.548,
    "s": 47.208,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40527,
    "c": 0.13603,
    "h": 273.5
  },
  "luminance": 0.0622
}

Semantic roles & 50–950 ramp

primary
#343E91
secondary
#B5AD6C
accent
#C851D7
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #343E91

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

Preview Lab → · Contrast checker → · Palette generator →

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