#343FB7#343FB7

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

Color values

HEX#343FB7
RGBrgb(52, 63, 183)
HSLhsl(235, 56%, 46%)
HSVhsv(235, 72%, 72%)
CMYKcmyk(71.6%, 65.6%, 0%, 28.2%)
CIE-LABlab(33.36, 36.25, -64.60)
CIE-LCHlch(33.36, 74.08, 299.30°)
OKLaboklab(44.02% 0.0065 -0.1867)
OKLCHoklch(44.02% 0.187 272)
XYZxyz(11.7380, 7.7028, 45.6587)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343FB7 #B7AC34
analogous
#3480B7 #343FB7 #6A34B7
triadic
#343FB7 #B7343F #3FB734
tetradic
#343FB7 #B73480 #B7AC34 #34B76A
square
#343FB7 #B73480 #B7AC34 #34B76A
split-complementary
#343FB7 #B76A34 #80B734
monochromatic
#191E58 #262F87 #343FB7 #5963D0 #888FDD

Accessibility & contrast

On white

8.27
#343FB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#343FB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343FB7
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343FB7#FFFFFF#000000##FFFFFF
##343FB71.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BB
Deuteranopia (green-blind)
#0048B5
Tritanopia (blue-blind)
#005F75
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #343fb7;
/* rgb */ color: rgb(52, 63, 183);
/* oklch */ color: oklch(44.0% 0.187 272.0);
Tailwind
colors: {
  custom: {
    50: '#7e74ce',
    500: '#343fb7',
    950: '#000000',
  },
}
SCSS
$custom: #343fb7;
$custom-light: #7e74ce;
$custom-dark: #000000;
JSON
{
  "hex": "#343fb7",
  "rgb": {
    "r": 52,
    "g": 63,
    "b": 183
  },
  "hsl": {
    "h": 234.962,
    "s": 55.745,
    "l": 46.078
  },
  "oklch": {
    "l": 0.44015,
    "c": 0.18679,
    "h": 272
  },
  "luminance": 0.07704
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #343FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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