#343FB6#343FB6

#343FB6 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.9% C 0.185 H 272.0°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#343FB6
RGBrgb(52, 63, 182)
HSLhsl(235, 56%, 46%)
HSVhsv(235, 71%, 71%)
CMYKcmyk(71.4%, 65.4%, 0%, 28.6%)
CIE-LABlab(33.27, 35.90, -64.16)
CIE-LCHlch(33.27, 73.52, 299.23°)
OKLaboklab(43.92% 0.0066 -0.1854)
OKLCHoklch(43.92% 0.185 272)
XYZxyz(11.6343, 7.6613, 45.1125)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343FB6 #B6AB34
analogous
#3480B6 #343FB6 #6A34B6
triadic
#343FB6 #B6343F #3FB634
tetradic
#343FB6 #B63480 #B6AB34 #34B66A
square
#343FB6 #B63480 #B6AB34 #34B66A
split-complementary
#343FB6 #B66A34 #80B634
monochromatic
#191E57 #262F86 #343FB6 #5862CF #888FDD

Accessibility & contrast

On white

8.29
#343FB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#343FB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343FB6
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343FB6#FFFFFF#000000##FFFFFF
##343FB61.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BA
Deuteranopia (green-blind)
#0048B4
Tritanopia (blue-blind)
#005E75
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #343fb6;
/* rgb */ color: rgb(52, 63, 182);
/* oklch */ color: oklch(43.9% 0.185 272.0);
Tailwind
colors: {
  custom: {
    50: '#7e74cd',
    500: '#343fb6',
    950: '#000000',
  },
}
SCSS
$custom: #343fb6;
$custom-light: #7e74cd;
$custom-dark: #000000;
JSON
{
  "hex": "#343fb6",
  "rgb": {
    "r": 52,
    "g": 63,
    "b": 182
  },
  "hsl": {
    "h": 234.923,
    "s": 55.556,
    "l": 45.882
  },
  "oklch": {
    "l": 0.43923,
    "c": 0.18549,
    "h": 272
  },
  "luminance": 0.07662
}

Semantic roles & 50–950 ramp

primary
#343FB6
secondary
#C7C17F
accent
#D249DF
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #343FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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