#343FBC#343FBC

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

Color values

HEX#343FBC
RGBrgb(52, 63, 188)
HSLhsl(235, 57%, 47%)
HSVhsv(235, 72%, 74%)
CMYKcmyk(72.3%, 66.5%, 0%, 26.3%)
CIE-LABlab(33.80, 38.01, -66.82)
CIE-LCHlch(33.80, 76.87, 299.63°)
OKLaboklab(44.48% 0.0061 -0.1932)
OKLCHoklch(44.48% 0.193 271.8)
XYZxyz(12.2677, 7.9147, 48.4484)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343FBC #BCB134
analogous
#3483BC #343FBC #6D34BC
triadic
#343FBC #BC343F #3FBC34
tetradic
#343FBC #BC3483 #BCB134 #34BC6D
square
#343FBC #BC3483 #BCB134 #34BC6D
split-complementary
#343FBC #BC6D34 #83BC34
monochromatic
#191F5C #272F8C #343FBC #5B65D2 #8B92DF

Accessibility & contrast

On white

8.13
#343FBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#343FBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343FBC
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343FBC#FFFFFF#000000##FFFFFF
##343FBC1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C0
Deuteranopia (green-blind)
#0049BA
Tritanopia (blue-blind)
#006078
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #343fbc;
/* rgb */ color: rgb(52, 63, 188);
/* oklch */ color: oklch(44.5% 0.193 271.8);
Tailwind
colors: {
  custom: {
    50: '#7f74d1',
    500: '#343fbc',
    950: '#000000',
  },
}
SCSS
$custom: #343fbc;
$custom-light: #7f74d1;
$custom-dark: #000000;
JSON
{
  "hex": "#343fbc",
  "rgb": {
    "r": 52,
    "g": 63,
    "b": 188
  },
  "hsl": {
    "h": 235.147,
    "s": 56.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44479,
    "c": 0.19326,
    "h": 271.8
  },
  "luminance": 0.07916
}

Semantic roles & 50–950 ramp

primary
#343FBC
secondary
#C9C483
accent
#D448E0
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #343FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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