#343DB1#343DB1

#343DB1 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.1% C 0.181 H 272.6°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#343DB1
RGBrgb(52, 61, 177)
HSLhsl(236, 55%, 45%)
HSVhsv(236, 71%, 69%)
CMYKcmyk(70.6%, 65.5%, 0%, 30.6%)
CIE-LABlab(32.35, 35.40, -62.69)
CIE-LCHlch(32.35, 71.99, 299.45°)
OKLaboklab(43.12% 0.0083 -0.1811)
OKLCHoklch(43.12% 0.181 272.6)
XYZxyz(11.0181, 7.2408, 42.4034)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343DB1 #B1A834
analogous
#347CB1 #343DB1 #6A34B1
triadic
#343DB1 #B1343D #3DB134
tetradic
#343DB1 #B1347C #B1A834 #34B16A
square
#343DB1 #B1347C #B1A834 #34B16A
split-complementary
#343DB1 #B16A34 #7CB134
monochromatic
#181C52 #262D82 #343DB1 #555ECD #848BDB

Accessibility & contrast

On white

8.58
#343DB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#343DB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343DB1
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343DB1#FFFFFF#000000##FFFFFF
##343DB11.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#0046AF
Tritanopia (blue-blind)
#005B71
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #343db1;
/* rgb */ color: rgb(52, 61, 177);
/* oklch */ color: oklch(43.1% 0.181 272.6);
Tailwind
colors: {
  custom: {
    50: '#7d73c9',
    500: '#343db1',
    950: '#000000',
  },
}
SCSS
$custom: #343db1;
$custom-light: #7d73c9;
$custom-dark: #000000;
JSON
{
  "hex": "#343db1",
  "rgb": {
    "r": 52,
    "g": 61,
    "b": 177
  },
  "hsl": {
    "h": 235.68,
    "s": 54.585,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43116,
    "c": 0.18129,
    "h": 272.6
  },
  "luminance": 0.07242
}

Semantic roles & 50–950 ramp

primary
#343DB1
secondary
#C5BF7C
accent
#D34ADE
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #343DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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