#343BBB#343BBB

#343BBB is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.7% C 0.196 H 272.5°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#343BBB
RGBrgb(52, 59, 187)
HSLhsl(237, 56%, 47%)
HSVhsv(237, 72%, 73%)
CMYKcmyk(72.2%, 68.4%, 0%, 26.7%)
CIE-LABlab(32.80, 40.12, -67.88)
CIE-LCHlch(32.80, 78.85, 300.59°)
OKLaboklab(43.72% 0.0087 -0.1963)
OKLCHoklch(43.72% 0.196 272.5)
XYZxyz(11.9468, 7.4446, 47.8114)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343BBB #BBB434
analogous
#347FBB #343BBB #7134BB
triadic
#343BBB #BB343B #3BBB34
tetradic
#343BBB #BB347F #BBB434 #34BB71
square
#343BBB #BB347F #BBB434 #34BB71
split-complementary
#343BBB #BB7134 #7FBB34
monochromatic
#191D5B #272C8B #343BBB #5B61D1 #8B8FDF

Accessibility & contrast

On white

8.44
#343BBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #343BBB
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343BBB#FFFFFF#000000##FFFFFF
##343BBB1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#0047B9
Tritanopia (blue-blind)
#005E76
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #343bbb;
/* rgb */ color: rgb(52, 59, 187);
/* oklch */ color: oklch(43.7% 0.196 272.5);
Tailwind
colors: {
  custom: {
    50: '#7f71d1',
    500: '#343bbb',
    950: '#000000',
  },
}
SCSS
$custom: #343bbb;
$custom-light: #7f71d1;
$custom-dark: #000000;
JSON
{
  "hex": "#343bbb",
  "rgb": {
    "r": 52,
    "g": 59,
    "b": 187
  },
  "hsl": {
    "h": 236.889,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.43721,
    "c": 0.19647,
    "h": 272.5
  },
  "luminance": 0.07446
}

Semantic roles & 50–950 ramp

primary
#343BBB
secondary
#C9C582
accent
#D848E0
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #343BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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