#343A9C#343A9C

#343A9C is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.7% C 0.157 H 274.4°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#343A9C
RGBrgb(52, 58, 156)
HSLhsl(237, 50%, 41%)
HSVhsv(237, 67%, 61%)
CMYKcmyk(66.7%, 62.8%, 0%, 38.8%)
CIE-LABlab(29.80, 29.87, -54.23)
CIE-LCHlch(29.80, 61.91, 298.84°)
OKLaboklab(40.69% 0.0119 -0.1563)
OKLCHoklch(40.69% 0.157 274.4)
XYZxyz(8.9280, 6.1557, 32.1637)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343A9C #9C9634
analogous
#346E9C #343A9C #62349C
triadic
#343A9C #9C343A #3A9C34
tetradic
#343A9C #9C346E #9C9634 #349C62
square
#343A9C #9C346E #9C9634 #349C62
split-complementary
#343A9C #9C6234 #6E9C34
monochromatic
#151840 #25296E #343A9C #4A51C3 #787DD2

Accessibility & contrast

On white

9.41
#343A9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#343A9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343A9C
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343A9C#FFFFFF#000000##FFFFFF
##343A9C1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9F
Deuteranopia (green-blind)
#00429A
Tritanopia (blue-blind)
#005365
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #343a9c;
/* rgb */ color: rgb(52, 58, 156);
/* oklch */ color: oklch(40.7% 0.157 274.4);
Tailwind
colors: {
  custom: {
    50: '#7870ba',
    500: '#343a9c',
    950: '#000000',
  },
}
SCSS
$custom: #343a9c;
$custom-light: #7870ba;
$custom-dark: #000000;
JSON
{
  "hex": "#343a9c",
  "rgb": {
    "r": 52,
    "g": 58,
    "b": 156
  },
  "hsl": {
    "h": 236.538,
    "s": 50,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40687,
    "c": 0.15675,
    "h": 274.4
  },
  "luminance": 0.06156
}

Semantic roles & 50–950 ramp

primary
#343A9C
secondary
#BBB671
accent
#D14EDA
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #343A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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