#343DAB#343DAB

#343DAB is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.6% C 0.173 H 272.9°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#343DAB
RGBrgb(52, 61, 171)
HSLhsl(235, 53%, 44%)
HSVhsv(235, 70%, 67%)
CMYKcmyk(69.6%, 64.3%, 0%, 32.9%)
CIE-LABlab(31.82, 33.27, -59.97)
CIE-LCHlch(31.82, 68.58, 299.02°)
OKLaboklab(42.57% 0.0087 -0.1731)
OKLCHoklch(42.57% 0.173 272.9)
XYZxyz(10.4331, 7.0068, 39.3228)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343DAB #ABA234
analogous
#3478AB #343DAB #6634AB
triadic
#343DAB #AB343D #3DAB34
tetradic
#343DAB #AB3478 #ABA234 #34AB66
square
#343DAB #AB3478 #ABA234 #34AB66
split-complementary
#343DAB #AB6634 #78AB34
monochromatic
#171C4D #262C7C #343DAB #525BCA #8187D9

Accessibility & contrast

On white

8.74
#343DAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#343DAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343DAB
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343DAB#FFFFFF#000000##FFFFFF
##343DAB1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AF
Deuteranopia (green-blind)
#0045A9
Tritanopia (blue-blind)
#00596E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #343dab;
/* rgb */ color: rgb(52, 61, 171);
/* oklch */ color: oklch(42.6% 0.173 272.9);
Tailwind
colors: {
  custom: {
    50: '#7b72c5',
    500: '#343dab',
    950: '#000000',
  },
}
SCSS
$custom: #343dab;
$custom-light: #7b72c5;
$custom-dark: #000000;
JSON
{
  "hex": "#343dab",
  "rgb": {
    "r": 52,
    "g": 61,
    "b": 171
  },
  "hsl": {
    "h": 235.462,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42568,
    "c": 0.17335,
    "h": 272.9
  },
  "luminance": 0.07008
}

Semantic roles & 50–950 ramp

primary
#343DAB
secondary
#C2BC79
accent
#D24BDD
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #343DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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