#343A8A#343A8A

#343A8A is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.2% C 0.131 H 275.3°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#343A8A
RGBrgb(52, 58, 138)
HSLhsl(236, 45%, 37%)
HSVhsv(236, 62%, 54%)
CMYKcmyk(62.3%, 58%, 0%, 45.9%)
CIE-LABlab(28.36, 23.42, -45.54)
CIE-LCHlch(28.36, 51.21, 297.21°)
OKLaboklab(39.16% 0.0121 -0.1308)
OKLCHoklch(39.16% 0.131 275.3)
XYZxyz(7.5152, 5.5906, 24.7229)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343A8A #8A8434
analogous
#34658A #343A8A #59348A
triadic
#343A8A #8A343A #3A8A34
tetradic
#343A8A #8A3465 #8A8434 #348A59
square
#343A8A #8A3465 #8A8434 #348A59
split-complementary
#343A8A #8A5934 #658A34
monochromatic
#131531 #23275E #343A8A #454DB6 #6F76C9

Accessibility & contrast

On white

9.91
#343A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#343A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343A8A
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343A8A#FFFFFF#000000##FFFFFF
##343A8A1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#003F88
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #343a8a;
/* rgb */ color: rgb(52, 58, 138);
/* oklch */ color: oklch(39.2% 0.131 275.3);
Tailwind
colors: {
  custom: {
    50: '#7570ad',
    500: '#343a8a',
    950: '#000000',
  },
}
SCSS
$custom: #343a8a;
$custom-light: #7570ad;
$custom-dark: #000000;
JSON
{
  "hex": "#343a8a",
  "rgb": {
    "r": 52,
    "g": 58,
    "b": 138
  },
  "hsl": {
    "h": 235.814,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39162,
    "c": 0.13132,
    "h": 275.3
  },
  "luminance": 0.05591
}

Semantic roles & 50–950 ramp

primary
#343A8A
secondary
#B1AC69
accent
#CC53D5
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #343A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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