#343FB3#343FB3

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

Color values

HEX#343FB3
RGBrgb(52, 63, 179)
HSLhsl(235, 55%, 45%)
HSVhsv(235, 71%, 70%)
CMYKcmyk(70.9%, 64.8%, 0%, 29.8%)
CIE-LABlab(33.00, 34.84, -62.81)
CIE-LCHlch(33.00, 71.83, 299.02°)
OKLaboklab(43.65% 0.0068 -0.1814)
OKLCHoklch(43.65% 0.182 272.1)
XYZxyz(11.3276, 7.5386, 43.4972)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343FB3 #B3A834
analogous
#347EB3 #343FB3 #6834B3
triadic
#343FB3 #B3343F #3FB334
tetradic
#343FB3 #B3347E #B3A834 #34B368
square
#343FB3 #B3347E #B3A834 #34B368
split-complementary
#343FB3 #B36834 #7EB334
monochromatic
#181E54 #262E84 #343FB3 #5661CE #868DDC

Accessibility & contrast

On white

8.37
#343FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#343FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343FB3
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343FB3#FFFFFF#000000##FFFFFF
##343FB31.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B7
Deuteranopia (green-blind)
#0048B1
Tritanopia (blue-blind)
#005D73
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #343fb3;
/* rgb */ color: rgb(52, 63, 179);
/* oklch */ color: oklch(43.6% 0.182 272.1);
Tailwind
colors: {
  custom: {
    50: '#7d74cb',
    500: '#343fb3',
    950: '#000000',
  },
}
SCSS
$custom: #343fb3;
$custom-light: #7d74cb;
$custom-dark: #000000;
JSON
{
  "hex": "#343fb3",
  "rgb": {
    "r": 52,
    "g": 63,
    "b": 179
  },
  "hsl": {
    "h": 234.803,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.43648,
    "c": 0.18156,
    "h": 272.1
  },
  "luminance": 0.0754
}

Semantic roles & 50–950 ramp

primary
#343FB3
secondary
#C5BF7D
accent
#D149DE
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #343FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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