#343294#343294

#343294 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.5% C 0.156 H 277.1°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#343294
RGBrgb(52, 50, 148)
HSLhsl(241, 49%, 39%)
HSVhsv(241, 66%, 58%)
CMYKcmyk(64.9%, 66.2%, 0%, 42%)
CIE-LABlab(27.15, 32.20, -53.66)
CIE-LCHlch(27.15, 62.58, 300.96°)
OKLaboklab(38.54% 0.0192 -0.1547)
OKLCHoklch(38.54% 0.156 277.1)
XYZxyz(7.9003, 5.1487, 28.5887)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343294 #929432
analogous
#326194 #343294 #653294
triadic
#343294 #943432 #329434
tetradic
#343294 #943261 #929432 #329465
square
#343294 #943261 #929432 #329465
split-complementary
#343294 #946532 #619432
monochromatic
#141339 #242366 #343294 #4644C0 #7371CF

Accessibility & contrast

On white

10.35
#343294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#343294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343294
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343294#FFFFFF#000000##FFFFFF
##3432941.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#003C92
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #343294;
/* rgb */ color: rgb(52, 50, 148);
/* oklch */ color: oklch(38.5% 0.156 277.1);
Tailwind
colors: {
  custom: {
    50: '#776ab4',
    500: '#343294',
    950: '#000000',
  },
}
SCSS
$custom: #343294;
$custom-light: #776ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#343294",
  "rgb": {
    "r": 52,
    "g": 50,
    "b": 148
  },
  "hsl": {
    "h": 241.224,
    "s": 49.495,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38536,
    "c": 0.15588,
    "h": 277.1
  },
  "luminance": 0.05149
}

Semantic roles & 50–950 ramp

primary
#343294
secondary
#B5B76B
accent
#D94FD6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #343294

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

Preview Lab → · Contrast checker → · Palette generator →

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