#343FB8#343FB8

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

Color values

HEX#343FB8
RGBrgb(52, 63, 184)
HSLhsl(235, 56%, 46%)
HSVhsv(235, 72%, 72%)
CMYKcmyk(71.7%, 65.8%, 0%, 27.8%)
CIE-LABlab(33.45, 36.60, -65.05)
CIE-LCHlch(33.45, 74.64, 299.37°)
OKLaboklab(44.11% 0.0064 -0.188)
OKLCHoklch(44.11% 0.188 272)
XYZxyz(11.8425, 7.7446, 46.2088)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343FB8 #B8AD34
analogous
#3481B8 #343FB8 #6B34B8
triadic
#343FB8 #B8343F #3FB834
tetradic
#343FB8 #B83481 #B8AD34 #34B86B
square
#343FB8 #B83481 #B8AD34 #34B86B
split-complementary
#343FB8 #B86B34 #81B834
monochromatic
#191E59 #272F88 #343FB8 #5963D0 #8990DE

Accessibility & contrast

On white

8.24
#343FB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#343FB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343FB8
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343FB8#FFFFFF#000000##FFFFFF
##343FB81.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BC
Deuteranopia (green-blind)
#0049B6
Tritanopia (blue-blind)
#005F76
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #343fb8;
/* rgb */ color: rgb(52, 63, 184);
/* oklch */ color: oklch(44.1% 0.188 272.0);
Tailwind
colors: {
  custom: {
    50: '#7e74ce',
    500: '#343fb8',
    950: '#000000',
  },
}
SCSS
$custom: #343fb8;
$custom-light: #7e74ce;
$custom-dark: #000000;
JSON
{
  "hex": "#343fb8",
  "rgb": {
    "r": 52,
    "g": 63,
    "b": 184
  },
  "hsl": {
    "h": 235,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44107,
    "c": 0.18809,
    "h": 272
  },
  "luminance": 0.07746
}

Semantic roles & 50–950 ramp

primary
#343FB8
secondary
#C8C280
accent
#D349DF
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #343FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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