#343EBF#343EBF

#343EBF is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.6% C 0.198 H 271.9°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#343EBF
RGBrgb(52, 62, 191)
HSLhsl(236, 57%, 48%)
HSVhsv(236, 73%, 75%)
CMYKcmyk(72.8%, 67.5%, 0%, 25.1%)
CIE-LABlab(33.85, 39.67, -68.51)
CIE-LCHlch(33.85, 79.17, 300.07°)
OKLaboklab(44.6% 0.0064 -0.1981)
OKLCHoklch(44.6% 0.198 271.9)
XYZxyz(12.5396, 7.9356, 50.1510)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343EBF #BFB534
analogous
#3484BF #343EBF #6F34BF
triadic
#343EBF #BF343E #3EBF34
tetradic
#343EBF #BF3484 #BFB534 #34BF6F
square
#343EBF #BF3484 #BFB534 #34BF6F
split-complementary
#343EBF #BF6F34 #84BF34
monochromatic
#1A1F5F #272E8F #343EBF #5D66D3 #8D93E0

Accessibility & contrast

On white

8.12
#343EBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#343EBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343EBF
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343EBF#FFFFFF#000000##FFFFFF
##343EBF1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C3
Deuteranopia (green-blind)
#0049BD
Tritanopia (blue-blind)
#006179
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #343ebf;
/* rgb */ color: rgb(52, 62, 191);
/* oklch */ color: oklch(44.6% 0.198 271.9);
Tailwind
colors: {
  custom: {
    50: '#8074d3',
    500: '#343ebf',
    950: '#000000',
  },
}
SCSS
$custom: #343ebf;
$custom-light: #8074d3;
$custom-dark: #000000;
JSON
{
  "hex": "#343ebf",
  "rgb": {
    "r": 52,
    "g": 62,
    "b": 191
  },
  "hsl": {
    "h": 235.683,
    "s": 57.202,
    "l": 47.647
  },
  "oklch": {
    "l": 0.44595,
    "c": 0.19822,
    "h": 271.9
  },
  "luminance": 0.07937
}

Semantic roles & 50–950 ramp

primary
#343EBF
secondary
#CAC584
accent
#D547E0
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #343EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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