#343AB8#343AB8

#343AB8 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.3% C 0.194 H 272.8°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#343AB8
RGBrgb(52, 58, 184)
HSLhsl(237, 56%, 46%)
HSVhsv(237, 72%, 72%)
CMYKcmyk(71.7%, 68.5%, 0%, 27.8%)
CIE-LABlab(32.29, 39.70, -66.94)
CIE-LCHlch(32.29, 77.82, 300.67°)
OKLaboklab(43.27% 0.0096 -0.1935)
OKLCHoklch(43.27% 0.194 272.8)
XYZxyz(11.5781, 7.2157, 46.1207)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343AB8 #B8B234
analogous
#347CB8 #343AB8 #7034B8
triadic
#343AB8 #B8343A #3AB834
tetradic
#343AB8 #B8347C #B8B234 #34B870
square
#343AB8 #B8347C #B8B234 #34B870
split-complementary
#343AB8 #B87034 #7CB834
monochromatic
#191C59 #272B88 #343AB8 #595ED0 #898DDE

Accessibility & contrast

On white

8.59
#343AB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#343AB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343AB8
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343AB8#FFFFFF#000000##FFFFFF
##343AB81.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #343ab8;
/* rgb */ color: rgb(52, 58, 184);
/* oklch */ color: oklch(43.3% 0.194 272.8);
Tailwind
colors: {
  custom: {
    50: '#7f71ce',
    500: '#343ab8',
    950: '#000000',
  },
}
SCSS
$custom: #343ab8;
$custom-light: #7f71ce;
$custom-dark: #000000;
JSON
{
  "hex": "#343ab8",
  "rgb": {
    "r": 52,
    "g": 58,
    "b": 184
  },
  "hsl": {
    "h": 237.273,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.4327,
    "c": 0.19377,
    "h": 272.8
  },
  "luminance": 0.07217
}

Semantic roles & 50–950 ramp

primary
#343AB8
secondary
#C8C480
accent
#D849DF
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #343AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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