#343DBB#343DBB

#343DBB is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.0% C 0.194 H 272.2°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#343DBB
RGBrgb(52, 61, 187)
HSLhsl(236, 56%, 47%)
HSVhsv(236, 72%, 73%)
CMYKcmyk(72.2%, 67.4%, 0%, 26.7%)
CIE-LABlab(33.25, 38.90, -67.13)
CIE-LCHlch(33.25, 77.59, 300.09°)
OKLaboklab(44.05% 0.0074 -0.1941)
OKLCHoklch(44.05% 0.194 272.2)
XYZxyz(12.0515, 7.6542, 47.8463)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343DBB #BBB234
analogous
#3481BB #343DBB #6F34BB
triadic
#343DBB #BB343D #3DBB34
tetradic
#343DBB #BB3481 #BBB234 #34BB6F
square
#343DBB #BB3481 #BBB234 #34BB6F
split-complementary
#343DBB #BB6F34 #81BB34
monochromatic
#191E5B #272D8B #343DBB #5B63D1 #8B90DF

Accessibility & contrast

On white

8.30
#343DBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #343DBB
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343DBB#FFFFFF#000000##FFFFFF
##343DBB1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #343dbb;
/* rgb */ color: rgb(52, 61, 187);
/* oklch */ color: oklch(44.0% 0.194 272.2);
Tailwind
colors: {
  custom: {
    50: '#7f73d1',
    500: '#343dbb',
    950: '#000000',
  },
}
SCSS
$custom: #343dbb;
$custom-light: #7f73d1;
$custom-dark: #000000;
JSON
{
  "hex": "#343dbb",
  "rgb": {
    "r": 52,
    "g": 61,
    "b": 187
  },
  "hsl": {
    "h": 236,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.4405,
    "c": 0.19424,
    "h": 272.2
  },
  "luminance": 0.07655
}

Semantic roles & 50–950 ramp

primary
#343DBB
secondary
#C9C482
accent
#D648E0
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #343DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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