#343D91#343D91

#343D91 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.137 H 273.9°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#343D91
RGBrgb(52, 61, 145)
HSLhsl(234, 47%, 39%)
HSVhsv(234, 64%, 57%)
CMYKcmyk(64.1%, 57.9%, 0%, 43.1%)
CIE-LABlab(29.69, 23.94, -47.69)
CIE-LCHlch(29.69, 53.36, 296.65°)
OKLaboklab(40.33% 0.0093 -0.137)
OKLCHoklch(40.33% 0.137 273.9)
XYZxyz(8.1941, 6.1112, 27.5303)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343D91 #918834
analogous
#346B91 #343D91 #593491
triadic
#343D91 #91343D #3D9134
tetradic
#343D91 #91346B #918834 #349159
square
#343D91 #91346B #918834 #349159
split-complementary
#343D91 #915934 #6B9134
monochromatic
#141737 #242A64 #343D91 #4651BD #737BCD

Accessibility & contrast

On white

9.45
#343D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#343D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343D91
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343D91#FFFFFF#000000##FFFFFF
##343D911.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A94
Deuteranopia (green-blind)
#00428F
Tritanopia (blue-blind)
#005161
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #343d91;
/* rgb */ color: rgb(52, 61, 145);
/* oklch */ color: oklch(40.3% 0.137 273.9);
Tailwind
colors: {
  custom: {
    50: '#7672b2',
    500: '#343d91',
    950: '#000000',
  },
}
SCSS
$custom: #343d91;
$custom-light: #7672b2;
$custom-dark: #000000;
JSON
{
  "hex": "#343d91",
  "rgb": {
    "r": 52,
    "g": 61,
    "b": 145
  },
  "hsl": {
    "h": 234.194,
    "s": 47.208,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40328,
    "c": 0.13737,
    "h": 273.9
  },
  "luminance": 0.06112
}

Semantic roles & 50–950 ramp

primary
#343D91
secondary
#B5AE6C
accent
#CA51D7
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #343D91

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

Preview Lab → · Contrast checker → · Palette generator →

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