#343F9C#343F9C

#343F9C is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.6% C 0.150 H 272.9°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#343F9C
RGBrgb(52, 63, 156)
HSLhsl(234, 50%, 41%)
HSVhsv(234, 67%, 61%)
CMYKcmyk(66.7%, 59.6%, 0%, 38.8%)
CIE-LABlab(31.08, 26.59, -52.15)
CIE-LCHlch(31.08, 58.54, 297.01°)
OKLaboklab(41.63% 0.0076 -0.1501)
OKLCHoklch(41.63% 0.15 272.9)
XYZxyz(9.1924, 6.6846, 32.2519)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343F9C #9C9134
analogous
#34739C #343F9C #5D349C
triadic
#343F9C #9C343F #3F9C34
tetradic
#343F9C #9C3473 #9C9134 #349C5D
square
#343F9C #9C3473 #9C9134 #349C5D
split-complementary
#343F9C #9C5D34 #739C34
monochromatic
#151A40 #252C6E #343F9C #4A57C3 #7882D2

Accessibility & contrast

On white

8.99
#343F9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#343F9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343F9C
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343F9C#FFFFFF#000000##FFFFFF
##343F9C1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9F
Deuteranopia (green-blind)
#00459A
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #343f9c;
/* rgb */ color: rgb(52, 63, 156);
/* oklch */ color: oklch(41.6% 0.150 272.9);
Tailwind
colors: {
  custom: {
    50: '#7874ba',
    500: '#343f9c',
    950: '#000000',
  },
}
SCSS
$custom: #343f9c;
$custom-light: #7874ba;
$custom-dark: #000000;
JSON
{
  "hex": "#343f9c",
  "rgb": {
    "r": 52,
    "g": 63,
    "b": 156
  },
  "hsl": {
    "h": 233.654,
    "s": 50,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41631,
    "c": 0.15034,
    "h": 272.9
  },
  "luminance": 0.06685
}

Semantic roles & 50–950 ramp

primary
#343F9C
secondary
#BBB371
accent
#CB4EDA
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #343F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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