#343BB8#343BB8

#343BB8 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.4% C 0.193 H 272.7°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#343BB8
RGBrgb(52, 59, 184)
HSLhsl(237, 56%, 46%)
HSVhsv(237, 72%, 72%)
CMYKcmyk(71.7%, 67.9%, 0%, 27.8%)
CIE-LABlab(32.52, 39.09, -66.57)
CIE-LCHlch(32.52, 77.19, 300.42°)
OKLaboklab(43.43% 0.009 -0.1924)
OKLCHoklch(43.43% 0.193 272.7)
XYZxyz(11.6290, 7.3175, 46.1377)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343BB8 #B8B134
analogous
#347DB8 #343BB8 #6F34B8
triadic
#343BB8 #B8343B #3BB834
tetradic
#343BB8 #B8347D #B8B134 #34B86F
square
#343BB8 #B8347D #B8B134 #34B86F
split-complementary
#343BB8 #B86F34 #7DB834
monochromatic
#191C59 #272C88 #343BB8 #595FD0 #898DDE

Accessibility & contrast

On white

8.52
#343BB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#343BB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343BB8
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343BB8#FFFFFF#000000##FFFFFF
##343BB81.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BC
Deuteranopia (green-blind)
#0046B6
Tritanopia (blue-blind)
#005D74
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #343bb8;
/* rgb */ color: rgb(52, 59, 184);
/* oklch */ color: oklch(43.4% 0.193 272.7);
Tailwind
colors: {
  custom: {
    50: '#7e71ce',
    500: '#343bb8',
    950: '#000000',
  },
}
SCSS
$custom: #343bb8;
$custom-light: #7e71ce;
$custom-dark: #000000;
JSON
{
  "hex": "#343bb8",
  "rgb": {
    "r": 52,
    "g": 59,
    "b": 184
  },
  "hsl": {
    "h": 236.818,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.43434,
    "c": 0.19265,
    "h": 272.7
  },
  "luminance": 0.07319
}

Semantic roles & 50–950 ramp

primary
#343BB8
secondary
#C8C480
accent
#D749DF
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #343BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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