#343FB1#343FB1

#343FB1 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.5% C 0.179 H 272.2°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#343FB1
RGBrgb(52, 63, 177)
HSLhsl(235, 55%, 45%)
HSVhsv(235, 71%, 69%)
CMYKcmyk(70.6%, 64.4%, 0%, 30.6%)
CIE-LABlab(32.83, 34.13, -61.91)
CIE-LCHlch(32.83, 70.69, 298.87°)
OKLaboklab(43.47% 0.0069 -0.1788)
OKLCHoklch(43.47% 0.179 272.2)
XYZxyz(11.1268, 7.4583, 42.4397)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343FB1 #B1A634
analogous
#347EB1 #343FB1 #6834B1
triadic
#343FB1 #B1343F #3FB134
tetradic
#343FB1 #B1347E #B1A634 #34B168
square
#343FB1 #B1347E #B1A634 #34B168
split-complementary
#343FB1 #B16834 #7EB134
monochromatic
#181D52 #262E82 #343FB1 #5560CD #848CDB

Accessibility & contrast

On white

8.43
#343FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#343FB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343FB1
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343FB1#FFFFFF#000000##FFFFFF
##343FB11.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #343fb1;
/* rgb */ color: rgb(52, 63, 177);
/* oklch */ color: oklch(43.5% 0.179 272.2);
Tailwind
colors: {
  custom: {
    50: '#7d74c9',
    500: '#343fb1',
    950: '#000000',
  },
}
SCSS
$custom: #343fb1;
$custom-light: #7d74c9;
$custom-dark: #000000;
JSON
{
  "hex": "#343fb1",
  "rgb": {
    "r": 52,
    "g": 63,
    "b": 177
  },
  "hsl": {
    "h": 234.72,
    "s": 54.585,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43466,
    "c": 0.17892,
    "h": 272.2
  },
  "luminance": 0.07459
}

Semantic roles & 50–950 ramp

primary
#343FB1
secondary
#C5BE7C
accent
#D14ADE
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #343FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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