#343992#343992

#343992 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.6% C 0.144 H 275.2°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#343992
RGBrgb(52, 57, 146)
HSLhsl(237, 47%, 39%)
HSVhsv(237, 64%, 57%)
CMYKcmyk(64.4%, 61%, 0%, 42.7%)
CIE-LABlab(28.72, 26.95, -49.88)
CIE-LCHlch(28.72, 56.69, 298.38°)
OKLaboklab(39.63% 0.0131 -0.1435)
OKLCHoklch(39.63% 0.144 275.2)
XYZxyz(8.0659, 5.7310, 27.8697)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343992 #928D34
analogous
#346892 #343992 #5E3492
triadic
#343992 #923439 #399234
tetradic
#343992 #923468 #928D34 #34925E
square
#343992 #923468 #928D34 #34925E
split-complementary
#343992 #925E34 #689234
monochromatic
#141638 #242765 #343992 #464CBD #7378CD

Accessibility & contrast

On white

9.78
#343992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#343992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343992
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343992#FFFFFF#000000##FFFFFF
##3439921.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004895
Deuteranopia (green-blind)
#004090
Tritanopia (blue-blind)
#004F60
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #343992;
/* rgb */ color: rgb(52, 57, 146);
/* oklch */ color: oklch(39.6% 0.144 275.2);
Tailwind
colors: {
  custom: {
    50: '#766fb3',
    500: '#343992',
    950: '#000000',
  },
}
SCSS
$custom: #343992;
$custom-light: #766fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#343992",
  "rgb": {
    "r": 52,
    "g": 57,
    "b": 146
  },
  "hsl": {
    "h": 236.809,
    "s": 47.475,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39634,
    "c": 0.14412,
    "h": 275.2
  },
  "luminance": 0.05732
}

Semantic roles & 50–950 ramp

primary
#343992
secondary
#B5B26C
accent
#D051D7
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #343992

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

Preview Lab → · Contrast checker → · Palette generator →

#343992 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva