#343196#343196

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

Color values

HEX#343196
RGBrgb(52, 49, 150)
HSLhsl(242, 51%, 39%)
HSVhsv(242, 67%, 59%)
CMYKcmyk(65.3%, 67.3%, 0%, 41.2%)
CIE-LABlab(27.10, 33.52, -54.99)
CIE-LCHlch(27.10, 64.40, 301.37°)
OKLaboklab(38.55% 0.0198 -0.1586)
OKLCHoklch(38.55% 0.16 277.1)
XYZxyz(8.0177, 5.1280, 29.4155)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343196 #939631
analogous
#316196 #343196 #673196
triadic
#343196 #963431 #319634
tetradic
#343196 #963161 #939631 #319667
square
#343196 #963161 #939631 #319667
split-complementary
#343196 #966731 #619631
monochromatic
#14133A #242268 #343196 #4643C1 #7471D1

Accessibility & contrast

On white

10.37
#343196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #343196
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343196#FFFFFF#000000##FFFFFF
##3431961.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#003C94
Tritanopia (blue-blind)
#004B5F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #343196;
/* rgb */ color: rgb(52, 49, 150);
/* oklch */ color: oklch(38.5% 0.160 277.1);
Tailwind
colors: {
  custom: {
    50: '#786ab6',
    500: '#343196',
    950: '#000000',
  },
}
SCSS
$custom: #343196;
$custom-light: #786ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#343196",
  "rgb": {
    "r": 52,
    "g": 49,
    "b": 150
  },
  "hsl": {
    "h": 241.782,
    "s": 50.754,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38549,
    "c": 0.15981,
    "h": 277.1
  },
  "luminance": 0.05129
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #343196

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

Preview Lab → · Contrast checker → · Palette generator →

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