#343199#343199

#343199 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.8% C 0.164 H 276.8°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#343199
RGBrgb(52, 49, 153)
HSLhsl(242, 51%, 40%)
HSVhsv(242, 68%, 60%)
CMYKcmyk(66%, 68%, 0%, 40%)
CIE-LABlab(27.37, 34.56, -56.38)
CIE-LCHlch(27.37, 66.13, 301.51°)
OKLaboklab(38.83% 0.0195 -0.1626)
OKLCHoklch(38.83% 0.164 276.8)
XYZxyz(8.2624, 5.2259, 30.7041)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343199 #969931
analogous
#316299 #343199 #683199
triadic
#343199 #993431 #319934
tetradic
#343199 #993162 #969931 #319968
square
#343199 #993162 #969931 #319968
split-complementary
#343199 #996831 #629931
monochromatic
#14133C #24226B #343199 #4844C3 #7572D2

Accessibility & contrast

On white

10.27
#343199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#343199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343199
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343199#FFFFFF#000000##FFFFFF
##3431991.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#003C97
Tritanopia (blue-blind)
#004C60
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #343199;
/* rgb */ color: rgb(52, 49, 153);
/* oklch */ color: oklch(38.8% 0.164 276.8);
Tailwind
colors: {
  custom: {
    50: '#796ab8',
    500: '#343199',
    950: '#000000',
  },
}
SCSS
$custom: #343199;
$custom-light: #796ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#343199",
  "rgb": {
    "r": 52,
    "g": 49,
    "b": 153
  },
  "hsl": {
    "h": 241.731,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.3883,
    "c": 0.16381,
    "h": 276.8
  },
  "luminance": 0.05227
}

Semantic roles & 50–950 ramp

primary
#343199
secondary
#B8BA6C
accent
#DB4DD7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #343199

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

Preview Lab → · Contrast checker → · Palette generator →

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