#343FC8#343FC8

#343FC8 is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 45.6% C 0.208 H 271.4°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#343FC8
RGBrgb(52, 63, 200)
HSLhsl(236, 59%, 49%)
HSVhsv(236, 74%, 78%)
CMYKcmyk(74%, 68.5%, 0%, 21.6%)
CIE-LABlab(34.91, 42.18, -72.03)
CIE-LCHlch(34.91, 83.47, 300.35°)
OKLaboklab(45.62% 0.0049 -0.2084)
OKLCHoklch(45.62% 0.208 271.4)
XYZxyz(13.6155, 8.4538, 55.5466)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343FC8 #C8BD34
analogous
#3489C8 #343FC8 #7334C8
triadic
#343FC8 #C8343F #3FC834
tetradic
#343FC8 #C83489 #C8BD34 #34C873
square
#343FC8 #C83489 #C8BD34 #34C873
split-complementary
#343FC8 #C87334 #89C834
monochromatic
#1B2067 #273097 #343FC8 #636BD6 #9399E3

Accessibility & contrast

On white

7.80
#343FC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#343FC8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343FC8
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343FC8#FFFFFF#000000##FFFFFF
##343FC81.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CC
Deuteranopia (green-blind)
#004BC5
Tritanopia (blue-blind)
#00657E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #343fc8;
/* rgb */ color: rgb(52, 63, 200);
/* oklch */ color: oklch(45.6% 0.208 271.4);
Tailwind
colors: {
  custom: {
    50: '#8274da',
    500: '#343fc8',
    950: '#000000',
  },
}
SCSS
$custom: #343fc8;
$custom-light: #8274da;
$custom-dark: #000000;
JSON
{
  "hex": "#343fc8",
  "rgb": {
    "r": 52,
    "g": 63,
    "b": 200
  },
  "hsl": {
    "h": 235.541,
    "s": 58.73,
    "l": 49.412
  },
  "oklch": {
    "l": 0.45618,
    "c": 0.20846,
    "h": 271.4
  },
  "luminance": 0.08455
}

Semantic roles & 50–950 ramp

primary
#343FC8
secondary
#CEC98A
accent
#D646E2
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #343FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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