#343EB1#343EB1

#343EB1 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.3% C 0.180 H 272.4°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#343EB1
RGBrgb(52, 62, 177)
HSLhsl(235, 55%, 45%)
HSVhsv(235, 71%, 69%)
CMYKcmyk(70.6%, 65%, 0%, 30.6%)
CIE-LABlab(32.59, 34.76, -62.30)
CIE-LCHlch(32.59, 71.34, 299.16°)
OKLaboklab(43.29% 0.0076 -0.1799)
OKLCHoklch(43.29% 0.18 272.4)
XYZxyz(11.0719, 7.3486, 42.4214)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343EB1 #B1A734
analogous
#347DB1 #343EB1 #6934B1
triadic
#343EB1 #B1343E #3EB134
tetradic
#343EB1 #B1347D #B1A734 #34B169
square
#343EB1 #B1347D #B1A734 #34B169
split-complementary
#343EB1 #B16934 #7DB134
monochromatic
#181D52 #262D82 #343EB1 #555FCD #848BDB

Accessibility & contrast

On white

8.50
#343EB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#343EB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343EB1
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343EB1#FFFFFF#000000##FFFFFF
##343EB11.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#0047AF
Tritanopia (blue-blind)
#005C72
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #343eb1;
/* rgb */ color: rgb(52, 62, 177);
/* oklch */ color: oklch(43.3% 0.180 272.4);
Tailwind
colors: {
  custom: {
    50: '#7d73c9',
    500: '#343eb1',
    950: '#000000',
  },
}
SCSS
$custom: #343eb1;
$custom-light: #7d73c9;
$custom-dark: #000000;
JSON
{
  "hex": "#343eb1",
  "rgb": {
    "r": 52,
    "g": 62,
    "b": 177
  },
  "hsl": {
    "h": 235.2,
    "s": 54.585,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4329,
    "c": 0.18011,
    "h": 272.4
  },
  "luminance": 0.0735
}

Semantic roles & 50–950 ramp

primary
#343EB1
secondary
#C5BF7C
accent
#D24ADE
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #343EB1

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

Preview Lab → · Contrast checker → · Palette generator →

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