#343299#343299

#343299 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.0% C 0.163 H 276.6°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#343299
RGBrgb(52, 50, 153)
HSLhsl(241, 51%, 40%)
HSVhsv(241, 67%, 60%)
CMYKcmyk(66%, 67.3%, 0%, 40%)
CIE-LABlab(27.60, 33.93, -56.00)
CIE-LCHlch(27.60, 65.48, 301.21°)
OKLaboklab(39% 0.0187 -0.1615)
OKLCHoklch(39% 0.163 276.6)
XYZxyz(8.3047, 5.3105, 30.7182)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343299 #979932
analogous
#326499 #343299 #683299
triadic
#343299 #993432 #329934
tetradic
#343299 #993264 #979932 #329968
square
#343299 #993264 #979932 #329968
split-complementary
#343299 #996832 #649932
monochromatic
#15143D #24236B #343299 #4846C2 #7674D2

Accessibility & contrast

On white

10.18
#343299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#343299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343299
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343299#FFFFFF#000000##FFFFFF
##3432991.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#003D97
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #343299;
/* rgb */ color: rgb(52, 50, 153);
/* oklch */ color: oklch(39.0% 0.163 276.6);
Tailwind
colors: {
  custom: {
    50: '#786ab8',
    500: '#343299',
    950: '#000000',
  },
}
SCSS
$custom: #343299;
$custom-light: #786ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#343299",
  "rgb": {
    "r": 52,
    "g": 50,
    "b": 153
  },
  "hsl": {
    "h": 241.165,
    "s": 50.739,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38999,
    "c": 0.16261,
    "h": 276.6
  },
  "luminance": 0.05311
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #343299

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

Preview Lab → · Contrast checker → · Palette generator →

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