#343EBB#343EBB

#343EBB is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.2% C 0.193 H 272.0°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#343EBB
RGBrgb(52, 62, 187)
HSLhsl(236, 56%, 47%)
HSVhsv(236, 72%, 73%)
CMYKcmyk(72.2%, 66.8%, 0%, 26.7%)
CIE-LABlab(33.48, 38.28, -66.76)
CIE-LCHlch(33.48, 76.95, 299.83°)
OKLaboklab(44.22% 0.0068 -0.193)
OKLCHoklch(44.22% 0.193 272)
XYZxyz(12.1054, 7.7619, 47.8643)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343EBB #BBB134
analogous
#3481BB #343EBB #6E34BB
triadic
#343EBB #BB343E #3EBB34
tetradic
#343EBB #BB3481 #BBB134 #34BB6E
square
#343EBB #BB3481 #BBB134 #34BB6E
split-complementary
#343EBB #BB6E34 #81BB34
monochromatic
#191E5B #272E8B #343EBB #5B64D1 #8B91DF

Accessibility & contrast

On white

8.23
#343EBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#343EBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343EBB
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343EBB#FFFFFF#000000##FFFFFF
##343EBB1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BF
Deuteranopia (green-blind)
#0048B9
Tritanopia (blue-blind)
#005F77
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #343ebb;
/* rgb */ color: rgb(52, 62, 187);
/* oklch */ color: oklch(44.2% 0.193 272.0);
Tailwind
colors: {
  custom: {
    50: '#7f73d1',
    500: '#343ebb',
    950: '#000000',
  },
}
SCSS
$custom: #343ebb;
$custom-light: #7f73d1;
$custom-dark: #000000;
JSON
{
  "hex": "#343ebb",
  "rgb": {
    "r": 52,
    "g": 62,
    "b": 187
  },
  "hsl": {
    "h": 235.556,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44217,
    "c": 0.19311,
    "h": 272
  },
  "luminance": 0.07763
}

Semantic roles & 50–950 ramp

primary
#343EBB
secondary
#C9C482
accent
#D548E0
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #343EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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