#343EA8#343EA8

#343EA8 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.5% C 0.168 H 272.8°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#343EA8
RGBrgb(52, 62, 168)
HSLhsl(235, 53%, 43%)
HSVhsv(235, 69%, 66%)
CMYKcmyk(69%, 63.1%, 0%, 34.1%)
CIE-LABlab(31.81, 31.56, -58.20)
CIE-LCHlch(31.81, 66.20, 298.47°)
OKLaboklab(42.48% 0.0081 -0.1679)
OKLCHoklch(42.48% 0.168 272.8)
XYZxyz(10.2043, 7.0015, 37.8519)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343EA8 #A89E34
analogous
#3478A8 #343EA8 #6434A8
triadic
#343EA8 #A8343E #3EA834
tetradic
#343EA8 #A83478 #A89E34 #34A864
square
#343EA8 #A83478 #A89E34 #34A864
split-complementary
#343EA8 #A86434 #78A834
monochromatic
#171C4B #262D79 #343EA8 #505BC9 #7F87D7

Accessibility & contrast

On white

8.75
#343EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#343EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343EA8
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343EA8#FFFFFF#000000##FFFFFF
##343EA81.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AB
Deuteranopia (green-blind)
#0046A6
Tritanopia (blue-blind)
#00596D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #343ea8;
/* rgb */ color: rgb(52, 62, 168);
/* oklch */ color: oklch(42.5% 0.168 272.8);
Tailwind
colors: {
  custom: {
    50: '#7b73c3',
    500: '#343ea8',
    950: '#000000',
  },
}
SCSS
$custom: #343ea8;
$custom-light: #7b73c3;
$custom-dark: #000000;
JSON
{
  "hex": "#343ea8",
  "rgb": {
    "r": 52,
    "g": 62,
    "b": 168
  },
  "hsl": {
    "h": 234.828,
    "s": 52.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4248,
    "c": 0.16811,
    "h": 272.8
  },
  "luminance": 0.07002
}

Semantic roles & 50–950 ramp

primary
#343EA8
secondary
#C0BA77
accent
#D04CDC
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #343EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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