#343FBB#343FBB

#343FBB is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.4% C 0.192 H 271.8°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#343FBB
RGBrgb(52, 63, 187)
HSLhsl(235, 56%, 47%)
HSVhsv(235, 72%, 73%)
CMYKcmyk(72.2%, 66.3%, 0%, 26.7%)
CIE-LABlab(33.71, 37.66, -66.38)
CIE-LCHlch(33.71, 76.32, 299.57°)
OKLaboklab(44.39% 0.0062 -0.1919)
OKLCHoklch(44.39% 0.192 271.8)
XYZxyz(12.1603, 7.8717, 47.8826)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343FBB #BBB034
analogous
#3483BB #343FBB #6D34BB
triadic
#343FBB #BB343F #3FBB34
tetradic
#343FBB #BB3483 #BBB034 #34BB6D
square
#343FBB #BB3483 #BBB034 #34BB6D
split-complementary
#343FBB #BB6D34 #83BB34
monochromatic
#191F5B #272F8B #343FBB #5B65D1 #8B92DF

Accessibility & contrast

On white

8.16
#343FBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#343FBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343FBB
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343FBB#FFFFFF#000000##FFFFFF
##343FBB1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BF
Deuteranopia (green-blind)
#0049B9
Tritanopia (blue-blind)
#006077
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #343fbb;
/* rgb */ color: rgb(52, 63, 187);
/* oklch */ color: oklch(44.4% 0.192 271.8);
Tailwind
colors: {
  custom: {
    50: '#7f74d1',
    500: '#343fbb',
    950: '#000000',
  },
}
SCSS
$custom: #343fbb;
$custom-light: #7f74d1;
$custom-dark: #000000;
JSON
{
  "hex": "#343fbb",
  "rgb": {
    "r": 52,
    "g": 63,
    "b": 187
  },
  "hsl": {
    "h": 235.111,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44386,
    "c": 0.19197,
    "h": 271.8
  },
  "luminance": 0.07873
}

Semantic roles & 50–950 ramp

primary
#343FBB
secondary
#C9C382
accent
#D348E0
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #343FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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