#343EBD#343EBD

#343EBD is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.4% C 0.196 H 271.9°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#343EBD
RGBrgb(52, 62, 189)
HSLhsl(236, 57%, 47%)
HSVhsv(236, 72%, 74%)
CMYKcmyk(72.5%, 67.2%, 0%, 25.9%)
CIE-LABlab(33.66, 38.98, -67.64)
CIE-LCHlch(33.66, 78.06, 299.95°)
OKLaboklab(44.41% 0.0066 -0.1956)
OKLCHoklch(44.41% 0.196 271.9)
XYZxyz(12.3210, 7.8482, 48.9998)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343EBD #BDB334
analogous
#3483BD #343EBD #6E34BD
triadic
#343EBD #BD343E #3EBD34
tetradic
#343EBD #BD3483 #BDB334 #34BD6E
square
#343EBD #BD3483 #BDB334 #34BD6E
split-complementary
#343EBD #BD6E34 #83BD34
monochromatic
#1A1F5D #272E8D #343EBD #5C65D2 #8C92DF

Accessibility & contrast

On white

8.17
#343EBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#343EBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343EBD
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343EBD#FFFFFF#000000##FFFFFF
##343EBD1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C1
Deuteranopia (green-blind)
#0049BB
Tritanopia (blue-blind)
#006078
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #343ebd;
/* rgb */ color: rgb(52, 62, 189);
/* oklch */ color: oklch(44.4% 0.196 271.9);
Tailwind
colors: {
  custom: {
    50: '#7f74d2',
    500: '#343ebd',
    950: '#000000',
  },
}
SCSS
$custom: #343ebd;
$custom-light: #7f74d2;
$custom-dark: #000000;
JSON
{
  "hex": "#343ebd",
  "rgb": {
    "r": 52,
    "g": 62,
    "b": 189
  },
  "hsl": {
    "h": 235.62,
    "s": 56.846,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44405,
    "c": 0.19567,
    "h": 271.9
  },
  "luminance": 0.07849
}

Semantic roles & 50–950 ramp

primary
#343EBD
secondary
#CAC583
accent
#D548E0
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #343EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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