#343099#343099

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

Color values

HEX#343099
RGBrgb(52, 48, 153)
HSLhsl(242, 52%, 39%)
HSVhsv(242, 69%, 60%)
CMYKcmyk(66%, 68.6%, 0%, 40%)
CIE-LABlab(27.14, 35.18, -56.76)
CIE-LCHlch(27.14, 66.77, 301.79°)
OKLaboklab(38.66% 0.0203 -0.1637)
OKLCHoklch(38.66% 0.165 277.1)
XYZxyz(8.2210, 5.1432, 30.6903)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343099 #959930
analogous
#306199 #343099 #693099
triadic
#343099 #993430 #309934
tetradic
#343099 #993061 #959930 #309969
square
#343099 #993061 #959930 #309969
split-complementary
#343099 #996930 #619930
monochromatic
#14133C #24216A #343099 #4742C4 #7571D2

Accessibility & contrast

On white

10.35
#343099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #343099
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343099#FFFFFF#000000##FFFFFF
##3430991.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #343099;
/* rgb */ color: rgb(52, 48, 153);
/* oklch */ color: oklch(38.7% 0.165 277.1);
Tailwind
colors: {
  custom: {
    50: '#7969b8',
    500: '#343099',
    950: '#000000',
  },
}
SCSS
$custom: #343099;
$custom-light: #7969b8;
$custom-dark: #000000;
JSON
{
  "hex": "#343099",
  "rgb": {
    "r": 52,
    "g": 48,
    "b": 153
  },
  "hsl": {
    "h": 242.286,
    "s": 52.239,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38663,
    "c": 0.165,
    "h": 277.1
  },
  "luminance": 0.05144
}

Semantic roles & 50–950 ramp

primary
#343099
secondary
#B7BA6B
accent
#DC4CD6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #343099

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

Preview Lab → · Contrast checker → · Palette generator →

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