#343A9F#343A9F

#343A9F is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.0% C 0.161 H 274.2°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#343A9F
RGBrgb(52, 58, 159)
HSLhsl(237, 51%, 41%)
HSVhsv(237, 67%, 62%)
CMYKcmyk(67.3%, 63.5%, 0%, 37.6%)
CIE-LABlab(30.06, 30.93, -55.64)
CIE-LCHlch(30.06, 63.66, 299.07°)
OKLaboklab(40.95% 0.0118 -0.1604)
OKLCHoklch(40.95% 0.161 274.2)
XYZxyz(9.1852, 6.2586, 33.5181)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343A9F #9F9934
analogous
#34709F #343A9F #64349F
triadic
#343A9F #9F343A #3A9F34
tetradic
#343A9F #9F3470 #9F9934 #349F64
square
#343A9F #9F3470 #9F9934 #349F64
split-complementary
#343A9F #9F6434 #709F34
monochromatic
#161843 #252971 #343A9F #4C53C4 #7A7FD3

Accessibility & contrast

On white

9.33
#343A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#343A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343A9F
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343A9F#FFFFFF#000000##FFFFFF
##343A9F1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#005467
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #343a9f;
/* rgb */ color: rgb(52, 58, 159);
/* oklch */ color: oklch(41.0% 0.161 274.2);
Tailwind
colors: {
  custom: {
    50: '#7970bc',
    500: '#343a9f',
    950: '#000000',
  },
}
SCSS
$custom: #343a9f;
$custom-light: #7970bc;
$custom-dark: #000000;
JSON
{
  "hex": "#343a9f",
  "rgb": {
    "r": 52,
    "g": 58,
    "b": 159
  },
  "hsl": {
    "h": 236.636,
    "s": 50.711,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40953,
    "c": 0.16086,
    "h": 274.2
  },
  "luminance": 0.06259
}

Semantic roles & 50–950 ramp

primary
#343A9F
secondary
#BCB873
accent
#D24EDA
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #343A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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