#343FB2#343FB2

#343FB2 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.6% C 0.180 H 272.2°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#343FB2
RGBrgb(52, 63, 178)
HSLhsl(235, 55%, 45%)
HSVhsv(235, 71%, 70%)
CMYKcmyk(70.8%, 64.6%, 0%, 30.2%)
CIE-LABlab(32.92, 34.48, -62.36)
CIE-LCHlch(32.92, 71.26, 298.94°)
OKLaboklab(43.56% 0.0068 -0.1801)
OKLCHoklch(43.56% 0.18 272.2)
XYZxyz(11.2269, 7.4983, 42.9665)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343FB2 #B2A734
analogous
#347EB2 #343FB2 #6834B2
triadic
#343FB2 #B2343F #3FB234
tetradic
#343FB2 #B2347E #B2A734 #34B268
square
#343FB2 #B2347E #B2A734 #34B268
split-complementary
#343FB2 #B26834 #7EB234
monochromatic
#181D53 #262E83 #343FB2 #5660CE #858DDB

Accessibility & contrast

On white

8.40
#343FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#343FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343FB2
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343FB2#FFFFFF#000000##FFFFFF
##343FB21.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#0048B0
Tritanopia (blue-blind)
#005D72
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #343fb2;
/* rgb */ color: rgb(52, 63, 178);
/* oklch */ color: oklch(43.6% 0.180 272.2);
Tailwind
colors: {
  custom: {
    50: '#7d74ca',
    500: '#343fb2',
    950: '#000000',
  },
}
SCSS
$custom: #343fb2;
$custom-light: #7d74ca;
$custom-dark: #000000;
JSON
{
  "hex": "#343fb2",
  "rgb": {
    "r": 52,
    "g": 63,
    "b": 178
  },
  "hsl": {
    "h": 234.762,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43557,
    "c": 0.18024,
    "h": 272.2
  },
  "luminance": 0.07499
}

Semantic roles & 50–950 ramp

primary
#343FB2
secondary
#C5BF7D
accent
#D14ADE
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #343FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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