#343AD1#343AD1

#343AD1 is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 45.7% C 0.225 H 271.6°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#343AD1
RGBrgb(52, 58, 209)
HSLhsl(238, 63%, 51%)
HSVhsv(238, 75%, 82%)
CMYKcmyk(75.1%, 72.2%, 0%, 18%)
CIE-LABlab(34.72, 48.15, -77.58)
CIE-LCHlch(34.72, 91.30, 301.83°)
OKLaboklab(45.74% 0.0063 -0.2246)
OKLCHoklch(45.74% 0.225 271.6)
XYZxyz(14.4340, 8.3581, 61.1618)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343AD1 #D1CB34
analogous
#3488D1 #343AD1 #7C34D1
triadic
#343AD1 #D1343A #3AD134
tetradic
#343AD1 #D13488 #D1CB34 #34D17C
square
#343AD1 #D13488 #D1CB34 #34D17C
split-complementary
#343AD1 #D17C34 #88D134
monochromatic
#1A1D71 #252AA3 #343AD1 #666ADC #989BE8

Accessibility & contrast

On white

7.86
#343AD1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#343AD1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343AD1
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343AD1#FFFFFF#000000##FFFFFF
##343AD11.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D5
Deuteranopia (green-blind)
#004ACE
Tritanopia (blue-blind)
#006582
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #343ad1;
/* rgb */ color: rgb(52, 58, 209);
/* oklch */ color: oklch(45.7% 0.225 271.6);
Tailwind
colors: {
  custom: {
    50: '#8472e0',
    500: '#343ad1',
    950: '#000000',
  },
}
SCSS
$custom: #343ad1;
$custom-light: #8472e0;
$custom-dark: #000000;
JSON
{
  "hex": "#343ad1",
  "rgb": {
    "r": 52,
    "g": 58,
    "b": 209
  },
  "hsl": {
    "h": 237.707,
    "s": 63.052,
    "l": 51.176
  },
  "oklch": {
    "l": 0.45742,
    "c": 0.22465,
    "h": 271.6
  },
  "luminance": 0.0836
}

Semantic roles & 50–950 ramp

primary
#343AD1
secondary
#D3D08E
accent
#E042E6
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #343AD1

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

Preview Lab → · Contrast checker → · Palette generator →

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