#343A70#343A70

#343A70 is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.2% C 0.092 H 276.2°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#343A70
RGBrgb(52, 58, 112)
HSLhsl(234, 37%, 32%)
HSVhsv(234, 54%, 44%)
CMYKcmyk(53.6%, 48.2%, 0%, 56.1%)
CIE-LABlab(26.52, 14.16, -32.16)
CIE-LCHlch(26.52, 35.14, 293.77°)
OKLaboklab(37.2% 0.0099 -0.0914)
OKLCHoklch(37.2% 0.092 276.2)
XYZxyz(5.8529, 4.9257, 15.9684)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343A70 #706A34
analogous
#345870 #343A70 #4C3470
triadic
#343A70 #70343A #3A7034
tetradic
#343A70 #703458 #706A34 #34704C
square
#343A70 #703458 #706A34 #34704C
split-complementary
#343A70 #704C34 #587034
monochromatic
#0D0F1C #212446 #343A70 #47509A #666EB8

Accessibility & contrast

On white

10.58
#343A70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#343A70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343A70
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343A70#FFFFFF#000000##FFFFFF
##343A701.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234172
Deuteranopia (green-blind)
#1D3C6F
Tritanopia (blue-blind)
#1B464F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #343a70;
/* rgb */ color: rgb(52, 58, 112);
/* oklch */ color: oklch(37.2% 0.092 276.2);
Tailwind
colors: {
  custom: {
    50: '#707099',
    500: '#343a70',
    950: '#000000',
  },
}
SCSS
$custom: #343a70;
$custom-light: #707099;
$custom-dark: #000000;
JSON
{
  "hex": "#343a70",
  "rgb": {
    "r": 52,
    "g": 58,
    "b": 112
  },
  "hsl": {
    "h": 234,
    "s": 36.585,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37197,
    "c": 0.09195,
    "h": 276.2
  },
  "luminance": 0.04926
}

Semantic roles & 50–950 ramp

primary
#343A70
secondary
#A09A5F
accent
#C15BCD
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#08070E
muted
#7B7A7E

Preview Lab

Preview with #343A70

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

Preview Lab → · Contrast checker → · Palette generator →

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