#343CB1#343CB1

#343CB1 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.9% C 0.182 H 272.8°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#343CB1
RGBrgb(52, 60, 177)
HSLhsl(236, 55%, 45%)
HSVhsv(236, 71%, 69%)
CMYKcmyk(70.6%, 66.1%, 0%, 30.6%)
CIE-LABlab(32.11, 36.02, -63.08)
CIE-LCHlch(32.11, 72.64, 299.73°)
OKLaboklab(42.94% 0.009 -0.1822)
OKLCHoklch(42.94% 0.182 272.8)
XYZxyz(10.9652, 7.1350, 42.3858)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343CB1 #B1A934
analogous
#347BB1 #343CB1 #6B34B1
triadic
#343CB1 #B1343C #3CB134
tetradic
#343CB1 #B1347B #B1A934 #34B16B
square
#343CB1 #B1347B #B1A934 #34B16B
split-complementary
#343CB1 #B16B34 #7BB134
monochromatic
#181C52 #262C82 #343CB1 #555DCD #848ADB

Accessibility & contrast

On white

8.65
#343CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#343CB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343CB1
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343CB1#FFFFFF#000000##FFFFFF
##343CB11.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #343cb1;
/* rgb */ color: rgb(52, 60, 177);
/* oklch */ color: oklch(42.9% 0.182 272.8);
Tailwind
colors: {
  custom: {
    50: '#7d72c9',
    500: '#343cb1',
    950: '#000000',
  },
}
SCSS
$custom: #343cb1;
$custom-light: #7d72c9;
$custom-dark: #000000;
JSON
{
  "hex": "#343cb1",
  "rgb": {
    "r": 52,
    "g": 60,
    "b": 177
  },
  "hsl": {
    "h": 236.16,
    "s": 54.585,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42943,
    "c": 0.18246,
    "h": 272.8
  },
  "luminance": 0.07136
}

Semantic roles & 50–950 ramp

primary
#343CB1
secondary
#C5C07C
accent
#D44ADE
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #343CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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