#343B79#343B79

#343B79 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 38.1% C 0.104 H 275.4°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#343B79
RGBrgb(52, 59, 121)
HSLhsl(234, 40%, 34%)
HSVhsv(234, 57%, 47%)
CMYKcmyk(57%, 51.2%, 0%, 52.5%)
CIE-LABlab(27.40, 16.66, -36.45)
CIE-LCHlch(27.40, 40.08, 294.56°)
OKLaboklab(38.06% 0.0099 -0.104)
OKLCHoklch(38.06% 0.104 275.4)
XYZxyz(6.4302, 5.2380, 18.7577)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343B79 #797234
analogous
#345E79 #343B79 #503479
triadic
#343B79 #79343B #3B7934
tetradic
#343B79 #79345E #797234 #347950
square
#343B79 #79345E #797234 #347950
split-complementary
#343B79 #795034 #5E7934
monochromatic
#0F1123 #22264E #343B79 #4650A4 #6972BE

Accessibility & contrast

On white

10.26
#343B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#343B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343B79
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343B79#FFFFFF#000000##FFFFFF
##343B791.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D447B
Deuteranopia (green-blind)
#133E78
Tritanopia (blue-blind)
#114954
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #343b79;
/* rgb */ color: rgb(52, 59, 121);
/* oklch */ color: oklch(38.1% 0.104 275.4);
Tailwind
colors: {
  custom: {
    50: '#7170a0',
    500: '#343b79',
    950: '#000000',
  },
}
SCSS
$custom: #343b79;
$custom-light: #7170a0;
$custom-dark: #000000;
JSON
{
  "hex": "#343b79",
  "rgb": {
    "r": 52,
    "g": 59,
    "b": 121
  },
  "hsl": {
    "h": 233.913,
    "s": 39.884,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38056,
    "c": 0.10449,
    "h": 275.4
  },
  "luminance": 0.05238
}

Semantic roles & 50–950 ramp

primary
#343B79
secondary
#A7A062
accent
#C458D0
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#08070F
muted
#7B7A7E

Preview Lab

Preview with #343B79

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

Preview Lab → · Contrast checker → · Palette generator →

#343B79 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva