#343296#343296

#343296 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.7% C 0.159 H 276.9°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#343296
RGBrgb(52, 50, 150)
HSLhsl(241, 50%, 39%)
HSVhsv(241, 67%, 59%)
CMYKcmyk(65.3%, 66.7%, 0%, 41.2%)
CIE-LABlab(27.33, 32.89, -54.60)
CIE-LCHlch(27.33, 63.74, 301.07°)
OKLaboklab(38.72% 0.019 -0.1574)
OKLCHoklch(38.72% 0.159 276.9)
XYZxyz(8.0600, 5.2126, 29.4296)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343296 #949632
analogous
#326296 #343296 #663296
triadic
#343296 #963432 #329634
tetradic
#343296 #963262 #949632 #329666
square
#343296 #963262 #949632 #329666
split-complementary
#343296 #966632 #629632
monochromatic
#14133A #242368 #343296 #4744C1 #7472D0

Accessibility & contrast

On white

10.28
#343296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#343296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343296
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343296#FFFFFF#000000##FFFFFF
##3432961.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#003C94
Tritanopia (blue-blind)
#004C5F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #343296;
/* rgb */ color: rgb(52, 50, 150);
/* oklch */ color: oklch(38.7% 0.159 276.9);
Tailwind
colors: {
  custom: {
    50: '#786ab6',
    500: '#343296',
    950: '#000000',
  },
}
SCSS
$custom: #343296;
$custom-light: #786ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#343296",
  "rgb": {
    "r": 52,
    "g": 50,
    "b": 150
  },
  "hsl": {
    "h": 241.2,
    "s": 50,
    "l": 39.216
  },
  "oklch": {
    "l": 0.3872,
    "c": 0.15859,
    "h": 276.9
  },
  "luminance": 0.05213
}

Semantic roles & 50–950 ramp

primary
#343296
secondary
#B7B86C
accent
#DA4ED7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #343296

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

Preview Lab → · Contrast checker → · Palette generator →

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