#343097#343097

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

Color values

HEX#343097
RGBrgb(52, 48, 151)
HSLhsl(242, 52%, 39%)
HSVhsv(242, 68%, 59%)
CMYKcmyk(65.6%, 68.2%, 0%, 40.8%)
CIE-LABlab(26.95, 34.49, -55.83)
CIE-LCHlch(26.95, 65.63, 301.71°)
OKLaboklab(38.47% 0.0205 -0.161)
OKLCHoklch(38.47% 0.162 277.3)
XYZxyz(8.0572, 5.0777, 29.8276)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343097 #939730
analogous
#306097 #343097 #683097
triadic
#343097 #973430 #309734
tetradic
#343097 #973060 #939730 #309768
square
#343097 #973060 #939730 #309768
split-complementary
#343097 #976830 #609730
monochromatic
#14123A #242169 #343097 #4641C3 #7470D2

Accessibility & contrast

On white

10.42
#343097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#343097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343097
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343097#FFFFFF#000000##FFFFFF
##3430971.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#003B95
Tritanopia (blue-blind)
#004B5F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #343097;
/* rgb */ color: rgb(52, 48, 151);
/* oklch */ color: oklch(38.5% 0.162 277.3);
Tailwind
colors: {
  custom: {
    50: '#7869b7',
    500: '#343097',
    950: '#000000',
  },
}
SCSS
$custom: #343097;
$custom-light: #7869b7;
$custom-dark: #000000;
JSON
{
  "hex": "#343097",
  "rgb": {
    "r": 52,
    "g": 48,
    "b": 151
  },
  "hsl": {
    "h": 242.33,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38474,
    "c": 0.16235,
    "h": 277.3
  },
  "luminance": 0.05078
}

Semantic roles & 50–950 ramp

primary
#343097
secondary
#B6B96A
accent
#DB4DD6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #343097

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

Preview Lab → · Contrast checker → · Palette generator →

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