#343CBD#343CBD

#343CBD is a dark, vivid blue. Relative luminance 0.076; OKLCH L 44.1% C 0.198 H 272.3°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#343CBD
RGBrgb(52, 60, 189)
HSLhsl(236, 57%, 47%)
HSVhsv(236, 72%, 74%)
CMYKcmyk(72.5%, 68.3%, 0%, 25.9%)
CIE-LABlab(33.21, 40.20, -68.38)
CIE-LCHlch(33.21, 79.32, 300.45°)
OKLaboklab(44.08% 0.0078 -0.1977)
OKLCHoklch(44.08% 0.198 272.3)
XYZxyz(12.2142, 7.6347, 48.9642)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343CBD #BDB534
analogous
#3481BD #343CBD #7034BD
triadic
#343CBD #BD343C #3CBD34
tetradic
#343CBD #BD3481 #BDB534 #34BD70
square
#343CBD #BD3481 #BDB534 #34BD70
split-complementary
#343CBD #BD7034 #81BD34
monochromatic
#1A1E5D #272D8D #343CBD #5C63D2 #8C91DF

Accessibility & contrast

On white

8.31
#343CBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#343CBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343CBD
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343CBD#FFFFFF#000000##FFFFFF
##343CBD1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C1
Deuteranopia (green-blind)
#0048BB
Tritanopia (blue-blind)
#005F77
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #343cbd;
/* rgb */ color: rgb(52, 60, 189);
/* oklch */ color: oklch(44.1% 0.198 272.3);
Tailwind
colors: {
  custom: {
    50: '#8072d2',
    500: '#343cbd',
    950: '#000000',
  },
}
SCSS
$custom: #343cbd;
$custom-light: #8072d2;
$custom-dark: #000000;
JSON
{
  "hex": "#343cbd",
  "rgb": {
    "r": 52,
    "g": 60,
    "b": 189
  },
  "hsl": {
    "h": 236.496,
    "s": 56.846,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44076,
    "c": 0.1979,
    "h": 272.3
  },
  "luminance": 0.07636
}

Semantic roles & 50–950 ramp

primary
#343CBD
secondary
#CAC683
accent
#D748E0
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #343CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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