#343194#343194

#343194 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.157 H 277.3°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#343194
RGBrgb(52, 49, 148)
HSLhsl(242, 50%, 39%)
HSVhsv(242, 67%, 58%)
CMYKcmyk(64.9%, 66.9%, 0%, 42%)
CIE-LABlab(26.92, 32.83, -54.05)
CIE-LCHlch(26.92, 63.24, 301.28°)
OKLaboklab(38.36% 0.0201 -0.1558)
OKLCHoklch(38.36% 0.157 277.3)
XYZxyz(7.8581, 5.0642, 28.5746)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343194 #919431
analogous
#315F94 #343194 #653194
triadic
#343194 #943431 #319434
tetradic
#343194 #94315F #919431 #319465
square
#343194 #94315F #919431 #319465
split-complementary
#343194 #946531 #5F9431
monochromatic
#141338 #242266 #343194 #4642C0 #7370D0

Accessibility & contrast

On white

10.43
#343194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#343194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343194
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343194#FFFFFF#000000##FFFFFF
##3431941.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #343194;
/* rgb */ color: rgb(52, 49, 148);
/* oklch */ color: oklch(38.4% 0.157 277.3);
Tailwind
colors: {
  custom: {
    50: '#7769b4',
    500: '#343194',
    950: '#000000',
  },
}
SCSS
$custom: #343194;
$custom-light: #7769b4;
$custom-dark: #000000;
JSON
{
  "hex": "#343194",
  "rgb": {
    "r": 52,
    "g": 49,
    "b": 148
  },
  "hsl": {
    "h": 241.818,
    "s": 50.254,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38363,
    "c": 0.15712,
    "h": 277.3
  },
  "luminance": 0.05065
}

Semantic roles & 50–950 ramp

primary
#343194
secondary
#B5B769
accent
#DA4ED6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #343194

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

Preview Lab → · Contrast checker → · Palette generator →

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