#343FB5#343FB5

#343FB5 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.8% C 0.184 H 272.1°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#343FB5
RGBrgb(52, 63, 181)
HSLhsl(235, 55%, 46%)
HSVhsv(235, 71%, 71%)
CMYKcmyk(71.3%, 65.2%, 0%, 29%)
CIE-LABlab(33.18, 35.55, -63.71)
CIE-LCHlch(33.18, 72.95, 299.16°)
OKLaboklab(43.83% 0.0066 -0.1841)
OKLCHoklch(43.83% 0.184 272.1)
XYZxyz(11.5314, 7.6201, 44.5702)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343FB5 #B5AA34
analogous
#347FB5 #343FB5 #6934B5
triadic
#343FB5 #B5343F #3FB534
tetradic
#343FB5 #B5347F #B5AA34 #34B569
square
#343FB5 #B5347F #B5AA34 #34B569
split-complementary
#343FB5 #B56934 #7FB534
monochromatic
#191E56 #262E85 #343FB5 #5762CF #878EDC

Accessibility & contrast

On white

8.32
#343FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#343FB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343FB5
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343FB5#FFFFFF#000000##FFFFFF
##343FB51.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B9
Deuteranopia (green-blind)
#0048B3
Tritanopia (blue-blind)
#005E74
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #343fb5;
/* rgb */ color: rgb(52, 63, 181);
/* oklch */ color: oklch(43.8% 0.184 272.1);
Tailwind
colors: {
  custom: {
    50: '#7d74cc',
    500: '#343fb5',
    950: '#000000',
  },
}
SCSS
$custom: #343fb5;
$custom-light: #7d74cc;
$custom-dark: #000000;
JSON
{
  "hex": "#343fb5",
  "rgb": {
    "r": 52,
    "g": 63,
    "b": 181
  },
  "hsl": {
    "h": 234.884,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.43831,
    "c": 0.18418,
    "h": 272.1
  },
  "luminance": 0.07621
}

Semantic roles & 50–950 ramp

primary
#343FB5
secondary
#C6C07F
accent
#D249DF
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #343FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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