#343AAB#343AAB

#343AAB is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.0% C 0.177 H 273.5°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#343AAB
RGBrgb(52, 58, 171)
HSLhsl(237, 53%, 44%)
HSVhsv(237, 70%, 67%)
CMYKcmyk(69.6%, 66.1%, 0%, 32.9%)
CIE-LABlab(31.10, 35.17, -61.15)
CIE-LCHlch(31.10, 70.55, 299.91°)
OKLaboklab(42.04% 0.0109 -0.1766)
OKLCHoklch(42.04% 0.177 273.5)
XYZxyz(10.2775, 6.6955, 39.2709)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343AAB #ABA534
analogous
#3475AB #343AAB #6934AB
triadic
#343AAB #AB343A #3AAB34
tetradic
#343AAB #AB3475 #ABA534 #34AB69
square
#343AAB #AB3475 #ABA534 #34AB69
split-complementary
#343AAB #AB6934 #75AB34
monochromatic
#171A4D #262A7C #343AAB #5258CA #8185D9

Accessibility & contrast

On white

8.98
#343AAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#343AAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343AAB
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343AAB#FFFFFF#000000##FFFFFF
##343AAB1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#0044A9
Tritanopia (blue-blind)
#00586D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #343aab;
/* rgb */ color: rgb(52, 58, 171);
/* oklch */ color: oklch(42.0% 0.177 273.5);
Tailwind
colors: {
  custom: {
    50: '#7c70c5',
    500: '#343aab',
    950: '#000000',
  },
}
SCSS
$custom: #343aab;
$custom-light: #7c70c5;
$custom-dark: #000000;
JSON
{
  "hex": "#343aab",
  "rgb": {
    "r": 52,
    "g": 58,
    "b": 171
  },
  "hsl": {
    "h": 236.975,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42043,
    "c": 0.17694,
    "h": 273.5
  },
  "luminance": 0.06696
}

Semantic roles & 50–950 ramp

primary
#343AAB
secondary
#C2BE79
accent
#D54BDD
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #343AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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